Category: Server

  • How to Use AI in Your Reseller Hosting Business?

    How to Use AI in Your Reseller Hosting Business?

    Artificial intelligence (AI) has emerged as a fundamental element across various sectors, yet its application in reseller hosting may not be immediately apparent. However, if you adopt a creative perspective, there are numerous opportunities to explore. Incorporating AI into your reseller hosting operations can significantly enhance efficiency in multiple areas. For instance, it allows for the swift automation of crucial, yet monotonous, tasks. Additionally, AI can improve customer support and optimize your marketing strategies. To assist you in harnessing this technology effectively, we will outline some of the most effective methods for integrating AI into your reseller hosting business today.

    Streamlining Key Repetitive Activities through Automation

    Whether you are an established hosting reseller or a newcomer to the field, you will encounter essential tasks that require repetition. One such task is collecting monthly payments from your clients. The challenge with these responsibilities lies in their manual execution, which can be quite time-intensive. While it is possible to assign these tasks to other team members, doing so may hinder their ability to focus on other activities that could drive progress.

    When utilized appropriately, artificial intelligence serves as an outstanding tool for automating various tasks. For instance, it allows for the generation of invoices with minimal effort on your end. Additionally, this technology enables you to monitor all customer subscriptions effectively.

    In addition to handling payments and invoicing, AI can also facilitate automation in the following areas:

    1. Generating tickets when problems occur
    2. Distributing newsletters
    3. Onboarding new clients
    4. Backing up websites and data

    Evaluating Customer Contentment

    Even when you execute every aspect correctly, it is inevitable that not all customers will be satisfied. Nevertheless, there are several strategies you can implement to enhance their experience prior to encountering negative feedback. Assessing their current levels of satisfaction is undoubtedly the most effective approach to achieve this.

    Manually analyzing all customer data to identify trends can be a daunting task, which is where artificial intelligence can be beneficial. By utilizing customer relationship management (CRM) software, you can gain deeper insights into which customers are content and which are not with your offerings. With this knowledge, you can take appropriate actions to improve their satisfaction in the future.

    Moreover, in addition to fostering better relationships with dissatisfied customers, AI can also be utilized to uncover potential upselling opportunities. This could lead to increased revenue, enabling you to reinvest in your business. Features such as star ratings and sentiment analysis can provide a clearer understanding of customer perceptions.

    AI Customer Assistance

    A frequent error in reseller hosting that should be avoided is overlooking customer support. In addition to employing actual team members, utilizing AI can enhance problem-solving efficiency.

    A prevalent application of AI in customer support is through chatbots, which can address common inquiries, enabling your team to concentrate on more urgent and intricate matters. Notable AI customer support platforms include Zendesk and Freshdesk. Your team can integrate these tools with their manual efforts to address each customer’s concerns more effectively.

    In addition to utilizing AI for customer support, it is beneficial to collaborate with a web hosting provider that possesses high-level expertise. This partnership will enhance the overall quality of your service offerings.

    Utilizing Artificial Intelligence to Enhance Marketing Efforts

    Up to this point, we have discussed the ways to utilize AI in your reseller hosting business for various internal processes. However, there are also innovative ways to incorporate it into your outbound marketing strategies.

    To thrive as a reseller hosting business, engaging in some form of marketing is essential. This is important not only for reaching your target audience but also for highlighting what sets you apart from your competitors. Nevertheless, it is important to note that marketing can be quite time-consuming.

    As a hosting reseller, it is advisable to include a marketing expert among your potential hires, while also utilizing AI to enhance their effectiveness. For instance, tools such as ChatGPT can assist in generating drafts for social media content. Additionally, platforms like Perplexity can facilitate research efforts. When incorporating AI into your marketing strategy, it remains essential to thoroughly proofread and edit the content to ensure it reflects your unique voice. Furthermore, you might want to explore the integration of AI with SEO practices.

    Overview

    AI is a crucial resource for any reseller-hosting enterprise aiming for sustainable growth. It can be applied across various domains, including customer support, project management, sales, and marketing. Assess the specific requirements of your business and explore the various methods to integrate AI accordingly.

  • How to increase the maximum file upload size limit in PHP & phpMyAdmin?

    How to increase the maximum file upload size limit in PHP & phpMyAdmin?

    Introduction –

    By default, cPanel establishes a maximum file upload limit of 2GB. Please refer to this guide to raise the upload threshold.

    Procedure-

    • 👉 Step-1: Log into WHM
    • 👉 Step-2: Navigate to “WHM / Software / MultiPHP INI Editor”
    • 👉 Step-3: Select the version of PHP that your site uses
    • 👉 Step-4: Increase the following variables
      1. upload_max_filesize
      2. post_max_size (This should be larger than or equal to upload_max_filesize)
      3. memory_limit (This should be larger than or equal to post_max_size)
      4. max_execution_time (Optional, but can prevent timeout errors for large files)
    • 👉 Step-5: Click “Apply”
    • 👉 Step-6: Repeat for all versions of PHP that you require larger file upload sizes for.

    NOTE: Please note, the maximum size for these variables is 2GB.

  • How to increase the maximum upload limit in phpMyAdmin ?

    How to increase the maximum upload limit in phpMyAdmin ?

    If a SQL file is uploaded through phpMyAdmin that exceeds the upload size limit and/or the post size limit, the following error will occur:

    1. phpMyAdmin – Error
    2. Incorrect format parameter

    This error is provided because only part of the file was uploaded due to the upload limit, which results in a corrupted import.

    To increase the maximum upload limit in phpMyAdmin, you must increase the cPanel PHP max upload size and cPanel PHP max POST size values. The maximum value these limits can be increased to is 2047 M. If your import file is larger than 2047 M, you must import the database via the command line.

    Step-By-Step Instructions-

    • 👉 Step-1. Log in to WHM as the root user.
    • 👉 Step-2. Navigate to “Home / Server Configuration / Tweak Settings” in WHM.
    • 👉 Step-3. Click on the PHP tab.
    • 👉 Step-4. For the “cPanel PHP max upload size” option, increase the upload limit to your desired value.
      • a. Values higher than 2047MB are not permitted.
    • 👉 Step-5. For the “cPanel PHP max POST size” option, increase the POST value to the same or higher.
      • a. Values higher than 2047MB are not permitted.
    • 👉 Step-6. Click Save.

    Once this is done, you’ll see that phpMyAdmin now shows the new maximum upload size on the import screen next to the upload button.

  • Moving Easily Emails from one CPANEL email server account to another

    Moving Easily Emails from one CPANEL email server account to another

    Moving an email account (including old emails) from one cPanel server to another is pretty easy to do yourself if you have some knowledge of cPanel and FTP. When you move your existing web hosting to a different server you face the issue of migrating the emails from old cPanel to the new cPanel. Many a times I have seen website owner sacrificing all old mail during the server change process, because their developer does not know what to do. The fact is that it is a very easy process and can be completed within 5 to 10 minutes.
    Requirements

    1. FTP access to both new and old server.
    2. cPanel access to the new server.

    Here is a step by step approach to successfully move your cPanel mail from OLD server to NEW Server.

    Step 1: Create email account on the NEW SERVER/Hosting with the same E-mail id and password


    Log on to the New Server CPANEL. Click the ‘Email Accounts’ icon and fill up the fields to create the email account. Make sure to keep the password same as the one you had on the Old Server. Choose any amount of disk space/unlimited you want.

    Step 2: Download and backup the email data from Old Server through FTP/CPANEL

    Use a FTP program like CuteFTP, filezilla or FireFTP to connect to the Old Server. From the root directory navigate to “mail/domainame.com/emailAccount”. There will be a lot of files there but we need just two folders. So, download the “new” and “cur” directories to you local machine. Save this as a back-up of your old mails. If you have a lot of emails this could take a while. Once you are done, log out of the FTP connection.

    Step 3: Upload/Transfer Email files to NEW SERVER

    Log in to the New Server and like we did on the Old Server.
    Navigate to the “mail/domainname.com/emailaccount/” directory.
    Upload the “new” and ”cur” directories here by overwriting the existing one.( Replacement needed as the folder should already be created since you already created the account in step 1.)
    Depending on the size of your mails it may take a while to upload them.

    Step 4: Updating/Reset Mail Quota on New Server

    We are done, you can now access your mails from cPanel. But there is one bug to be fixed. Your mail account would still show you 0MB/500MB or something like that. That’s because we just created the account, and cPanel never had any records of the mails coming in. So we have to update the Mail Quota.
    In the same directory where we added the email files in step 3 locate the maildirsize file. Both the server will have the file. Copy the contents from maildirsize file on Old Server to the one on the NEW SERVER.

    (Alternate Process: FTP to the OLD SERVER, open up the maildirsize file at “root/mail/domainname.com/emailAccount” and copy all of the contents and paste them into the maildirsize file on the NEW SERVER. You may have luck copying the maildirsize file on the OLD SERVER and pasting it on the NEW SERVER, however this did not work for me.)

    If the above step does not work for you, try editing the maildirsize file on New Server so that it matches the values on the Old Server.

    For your information:

    1. 1st row: 2097152000/1024/1024 = Available Space in B
    2. 2nd row: 1682448126/1024/1024 = Used Space in B
    3. From 3rd row they are sizes for more folders in your account.

    We are done now.

    Step 5: Update your NameServers from your domain

    You can update name servers from your domain registrar. Go to the domain control area where you will need to change two entities from ns1. oldnameserver.com and ns2.oldnameserver.com to ns1.newnameserver.com and ns2.newnameserver.com. It takes somewhere between an hour to 24 hours to take effect, but sometimes DNS propagation might be done within 15 minutes
    (Remember the Nameserver may still need some time to update. Wait for it.) Your new email account should now have all the old mails and folder exactly like your Old cPanel email account.

    Enjoy your time. Have fun.
    Thanks for reading this.

  • How To Redirect HTTP to HTTPS using .htaccess file (Apache Server)

    How To Redirect HTTP to HTTPS using .htaccess file (Apache Server)

    When you are adding SSL for your websites to make it’s secure, your web server will also continue to serve the HTTP version of your webpages. So to get Website Visitor/your audiences’ attraction, you need to redirect HTTP to HTTPS, and force SSL on your website. Here’s I am giving some examples “how to redirect HTTP to HTTPs using .htaccess file in Apache web server”.

    Steps to Redirect HTTP To HTTPS Using .Htaccess File

    Before you start the things-Kindly ensure you have mod_rewrite enabled in your Apache server. Then only your Apache server will apply the configuration in .htaccess file. After migrating your website from HTTP to HTTPS, you may need to use a database reporting software for monitoring the key metrics about your website/application like signups, purchases, revenue, etc. with the help of dashboards & charts, to make sure everything is working smoothly and issues are spotted early.

    Open .htaccess file

    You will usually find .htaccess file in the root folder (e.g /var/www/html/) of your site. You can open it with the help of code editor

    $ sudo vim /var/www/html/.htaccess

    Add Rewrite Rule to .htaccess

    Add the below mentioned rules to your .htaccess file, for redirecting HTTP to HTTPs

    RewriteEngine on

    # force ssl

    RewriteCond %{SERVER_PORT} ^80$

    RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301]

    If the requested port is 80 (default for HTTP) then the above rewrite condition will check. In that case, it will match the entire URL and redirect to its HTTPS version. The server variable for website’s root URL is SERVER_NAME, and the URL stub that follows the domain name is REQUEST_URI. For permanent redirect here we use a 301 redirect. If you don’t need a permanent redirect then just use ‘R’ instead of ‘R=301’ in the above RewriteRule.

    By using virtual hosts also, you can redirect HTTP to HTTPS in your virtual host’s config file.

    <VirtualHost *:80>

    ServerName www.example.com

    Redirect permanent / https://www.example.com/

    </VirtualHost>

     

    <VirtualHost _default_:443>

    ServerName www.example.com

    DocumentRoot /var/www/html/example

    SSLEngine On

    # etc…

    </VirtualHost>

     

    In above mentioned case, we want to set up 2 virtual hosts – one for HTTP and the other one for HTTPS. The HTTP virtual host easily redirects all its requests to the HTTPs one. You can even use URL redirection to redirect to subfolder or redirect subfolder to subdomain.

    Restart Apache Server

    Restart Apache Server to apply changes

    $ sudo service apache2 restart

    Enjoy!

    For more guidance contact experts!

  • Overselling versus Overloading: What Is Overloading? (Part 2)

    Overselling versus Overloading: What Is Overloading? (Part 2)

    What Is Overloading?

    Overloading is when a server is so heavily populated that it begins to affect performance. Sites can run slowly or can go down entirely. This is essentially overselling on steroids.

    Most hosts that overload either do so due to willingness or incompetence.

    On one end of the spectrum, you have “hosts” (kids, amateurs, foreigners, etc) that don’t know what they’re doing. With their reseller account, VPS, or dedicated server, they simply fill up a server, unaware of what the does to sites. Their only knowledge is with using cPanel, and that’s not adequate to be a server admin. Some go a step further and offer asinine “master reseller” or “alpha reseller” plans, which cause a server to spiral out of control. Even if they wanted to, such plans remove the actual provider, and it becomes impossible to manage the hardware. There’s no way to cap usage or specify server density/population.

    On the other end, you have the greedy mega-hosts (“unlimited” hosts) that “solve” the issue of overloading by severely curtailing what can be done in an account. And it still runs slow!

     

    Unlimited Host vs. Overselling

    At the big hosts, overloading happens due to greed and an overzealous desire to turn a profit. Why only make $2,500 per server when you can make $5,000? (How do you think they pay those ridiculous commissions of $75 to $100 each?)

    If you crawl through the Terms of Service (ToS) or Acceptable Use Policy (AUP) — the fine print that nobody reads — you’ll find the draconian limits that are heavily enforced by these hosts. CPU, RAM, and MySQL queries are so low that you essentially have to run an HTML-only site, or have a site with no traffic, to avoid them.

    Some of the limits are hidden entirely, and not even found in the ToS/AUP documents! You have to dig around the internet to glean information from tickets that have been posted, and complaints online.

    The biggest reason sites run slow at large hosts is throttling. Everything is throttled. Rather than have a server that immediately responds to a request, the requests are put into a queue and loaded as resources become available. This is why, for example, a page loaded from a good host — for example, Veerotech, or EuroVPS — loads in 0.5 seconds. And why does a page from a crappy host — for example, Dreamhost, Hostgator/EIG — take anywhere from 1 to 8 seconds.

    And the first hint of overage on your part results in a suspension due to resources, paired with an upsell to their other services. At better hosts, such things don’t happen.

    It’s important to note that not all unlimited-style hosts do this. Most do — mostly because EIG owns 60+ brands — but not all. So far we’ve found SiteGround, Stablehost, and InMotion to be responsible hosts. They care more about customers than turning a profit, and it shows.

    VPS Hosts vs. Overselling

    Some hosts like to pretend a VPS cannot be oversold (and thus overloaded), but that’s simply not true. Most virtualization technologies allow for RAM overcommitment, and the older methods allow for CPU overuse.

    The most common problem technology is OpenVZ, but not because it’s necessarily bad technology. (Well, UBC/”burst” on CentOS 5 is, but not swap on CentOS 6. But that’s another story.) The real problem is again amateurs, kiddies, foreigners, etc. Thanks to dummy-friendly control panels like SolusVM, everybody likes to pretend to be a “host”, but few are experienced/seasoned server admins. So what you end up with is a node (server) that is populated with too many VPS, including not enough headroom for the server itself. If you’re not micro-managing the server regularly, it’s also easy to allow users to hog the CPU, which causes problems. OpenVZ is popular mostly because it is cheap and easy to set up/run.

    Virtuozzo is a commercial version of OpenVZ, with better RAM allocation for the end users (SLM). It suffers the same problem with CPU abuse.

    Hosts like to say that Xen, VMware, and Hyper-V cannot be oversold, but that’s not true — you can “balloon”/overcommit the RAM. KVM can overcommit both CPU and RAM.

    As with anything else, who you choose as a host is the most important factor. It’s why we use an excellent hosts like EuroVPS, LiquidWeb, and Godaddy for our important VPS projects. Some hosts promise that they do not oversell their VPS. Unlike shared/reseller hosting, this can be true! Stablehost, for example, as OpenVZ VPS plans, and makes this claim. (And it’s true! We use one at digitalFAQ.com as one of our primary servers!)

    CloudLinux and 1H Hive

    In recent years, more and more hosts have adopted CloudLinux as a tool to combat abuse on a server. Hosts can populate a server without fear of abuse because CloudLinux limits the user account to a % of CPU. The only person with a slow site is the one trying to use too many resources, usually 10%. While this doesn’t prevent a host from overselling, and thus overloading, it prevents the users from hogging the system as if it were their private dedicated server.

    The problem, however, is that some hosts are too cheap. This is commercial software that carries a monthly fee of about $10 per server. While that would be chicken feed to any host of any size, remember that these hosts are already doing everything they can to squeeze that last dime of profit out of the server. As a result, the server can run slowly and often do. When a host is not using CloudLinux or 1H Hive on their shared/reseller server, then find another host.

    Which Hosts Overload?

    The most common offenders are pretty easy to find — refer to any fake “top ten” list online, which is based purely on affiliate pay. The higher the commission, the more they cut corners on their customers. Or look up the term “slow” (i.e. Dreamhost slow), and you’ll quickly discover if that’s the case. Generally speaking, it’s those faux “unlimited” hosts that are the worst offenders: Dreamhost, Yahoo, Network Solutions, myHosting.com, etc. And then all of those EIG brands: Fatcow, BlueHost, Hostmonster, HostGator, iPage, JustHost, IXWebHosting, and many more. Again, they have 45+ brands.

     

  • Overselling versus Overloading: What Is Overselling? (Part 1)

    Overselling versus Overloading: What Is Overselling? (Part 1)

    What Is Overselling?

    Overselling is a deprived way to define resource management on servers.

    It applies to the disk space only. Specifically, it applies to the bandwidth, but in realism these days there are so many bandwidths available, that it does not matter the exterior of DDoS mitigation.

    So let us use shared hosting (aka reseller hosting) as an example. There are four concepts to be considered:

    • Customers are buying a plan that has a space of X amount.
    • Customers are using the space of X amount.
    • Servers have the space of X amount.
    • Servers are regularly upgraded to new technology, which normally has more space.

    Therefore, based on these key factors you have to manage the server: Does the entire allocation of space is used by the customer? In most cases, the reply is no. The average website comes under 1GB and acquires only modest traffic at best. To reserve the space of X amount constantly would be wastage; it would considerably drive up costs. And within that the reason for overselling lies: in retaining the costs down for customers.

    To use some number from Stablehost — an outstanding host, that is very honest and transparent — a particular server might comprise 1200GB. Their $10 plan provides 20GB and permits 60 accounts per server which are not oversold (1200/20=60). The server may bring in $600 (10 x $60), which will hardly fulfill the costs of the server. Although a home desktop is economical, think of a server with multi-core Xeon CPUs, RAID-10 SAS server-grade hard drives, and 64GB+ of RAM is not. There are also energy charges to run them for 24/7, personnel costs for support, facility costs (co-location), bandwidth, etc. Therefore, that $10 wants to be like $30 or $40 to fulfill its costs!

    Additionally, the server can only use a small portion of RAM and CPU, which is a total waste of resources. You’d be giving a high price for that thing you don’t use.

    Abruptly overselling does not sound like a corrupt thing, does it?

    Which Hosts Oversell?

    All types of hosts oversell, period. Any shared/reseller host that says something else is either lying, or they are charging an expanse corresponding to having such a service. (i.e. about $4 per GB)

    Sadly, almost all hosts hide these details from customers. They mostly refer to it as “trade secrets” or something similar gibberish. Mostly it is hidden because it is gone afar from mere overselling and entered the territory of overloading.

    If you are a reseller host, it means you can do this using your reseller account. A simple check/tick box in cPanel permits the reseller to offer extra than that is available in their account. For example, a reseller of 20GB with 20 x 2GB plans (40GB = overselling). The disadvantage to this is the host is now one level removed as a provider, and too much overselling by the reseller can affect RAM and CPU on the server! Because of this fact, it takes a good host to provide dependable reseller hosting.

    How Does Overselling Work?

    The fundamental to “overselling” — or better, however (again!) clever resource management, this is what is — is to make a balance between server resources, including CPU and RAM, disk space availability, and average customer requirements. You need to be capable keep your promises to the customer while keeping charges in check.

    Also, Stablehost has verified itself to be a truthful host, and has shared those values with us! For them, the magical number is 50%, and an accountable level of overselling is:

    • Not more than 600 customers (on average, it varies) per server. That is about 2GB each, on a server with 1200GB. It is more than double the average.
    • At least 50% of the CPU is idle, which permits for decent resources for all the sites.
    • At least 50% of the RAM is available, which again permits sites to use it as required. This comprises MySQL queries.

    If at any time a site causes these amounts to drop, Stablehost will transfer that site to another server. (Except it is grown so large that it needs a VPS, but that is a different story for another time.)

    It’s all about evaluating your hardware, evaluating your classic customer, and creating intelligent conclusions based on this data.

    Unfortunately, many hosts do not do this — particularly the “unlimited” hosts such as Godaddy, Dreamhost, and the different EIG brands (Fatcow, iPage, PowWeb, etc). What happens there is you wind up with a server that is not just oversold but overloaded. It works slowly, gets postponed for using “too many resources”, and is unsatisfying to use. In our next part (part 2), we will examine What Is Overloading? , and which hosts are the usual offenders.