How to Move Your Website to a New hosting provider

Hosting ProviderThere are various reasons why you might want to move your website to a new hosting provider. Your website might get so much traffic that your current hosting provider cannot meet your needs anymore. Or, you might have the more common reason of being tired of bad service with your current hosting provider.

Keep these points in mind when you move your website to another hosting provider:

1. Backup, backup, backup!

Your website is a precious possession and you do not want to lose it. You need to make a copy of your site as is, and then move it across to your new hosting provider. There are various ways of achieving this. You can either:

If your site consists of straightforward HTML pages, a file backup is all that is required; however, if your site has dynamic content and is built on a database engine, you must backup your SQL database as well. This can also be done in two ways:

If you are not sure whether your site makes use of a database or not, you should definitely consult your webmaster or web hosting provider to do this for you.

2. What to change

Your move from hosting provider A to hosting provider B consists of:

Your domain has now been set to point to the new name servers, but it takes anything between 8 and 48 hours for the actual change to take place—this is called DNS propagation.

In your welcome email from your new hosting provider, you should have received information about your FTP account, as well as how to access your Control Panel account temporarily until the DNS propagation has taken place properly. You can now either upload your files through FTP, or log into your control panel (hopefully CPanel again), and go to the 'Backups' option again. You can now restore the file backup that you made previously, and restore the MySQL backup that you've made.

Your website now basically exists in two places, with the old hosting provider as well as the new hosting provider. While the DNS propagation takes place, some visitors will see the old site, and some the new. As soon as the propagation is complete, all your visitors will see the new site.

Some points to consider:
  1. If you are running a dynamic site with lots of visitor interaction (e.g. a forum) it might be wise to switch off the old site completely while the propagation takes place. You might lose some visitors to the old hosting provider site, but if you don't do this, you will find that visitors will still interact and post messages on the old hosting provider site and these will never end up on the new one. (Remember, your backup is only a snapshot in time. Anything that is posted to the old site after you have taken the backup will NOT appear on the new site.)

  2. Emails must also be set up on the new hosting provider's site. For a while, you will have an interruption in the email service. It helps to change your mail server settings in your Outlook or Outlook Express to point directly to the IP address of the mail server.

  3. You will lose all your logs, including all traffic logs and visitor statistics, when you move to the new hosting provider site. If you are interested in retaining your log files, you might or might not be able to download them to your PC and use an offline analyzer.

  4. Make sure that you do the move during a low-traffic period. You should be able to see from your website statistics which periods during the week have low traffic. Remember that the move is going to take 48 hours to complete, at least.

  5. Inform your customers, visitors, and web hosting provider of the move.

Keep your old hosting provider account for at least another week or two to ensure all problems are ironed out and that the DNS propagation has taken place properly.

 

View our List of Top 10 Web Hosting Providers