How to transfer web hosting without experiencing any down time.
Moving website hosting can be a complicated process. Follow our steps to ensure that your move is smooth and painless.
How to Change Web Hosting
- The first step to transfer your website to a new host is to join your new hosting provider. Make sure to NOT cancel with your old hosting provider, and do not tell them you will be canceling. Keep this a secret from your old host, or they could prematurely terminate your site and cause downtime when you try changing web hosts.
- At this point, you should have hosting accounts with two hosting providers (the old and the new one). You will now migrate your entire site from the old host to the new one. Switching web hosts has to be done carefully. This can be done by connecting to the old host's FTP and downloading all your files, and then by connecting to the new host's FTP and uploading all your files (maintain the same file and folder structure).
- You must also backup any databases on the old host (contact the old host for instructions) and upload the backup files to the new host via FTP. You must then restore your databases from those backup files; this can be done via SSH or cPanel's phpMyAdmin. Emails do not normally transfer, but you can archive your emails from the old host. You can accomplish this by making a POP3 connection to each email address; this way all the old emails are downloaded to your local computer. The new host will not have those old emails, but the new host will be able to get new emails.
- If you choose to move web hosting services to HostGator, we may transfer your entire site (files and databases) over free of charge! If your old host used cPanel, we may be able to transfer emails as well.
- After you have all your files on both hosting accounts, it is time to change your domain name's DNS. Your new host will provide you with the correct name servers (DNS). You may need to contact the new host to find out what DNS settings you will use for your domain name.
DNS name servers usually looks like this (replace "yourhostname.com" with your host's actual domain name):
Once you have the correct DNS, go to the company where you purchased your domain name to make the change. If you purchased your domain name from your host, you usually need to ask them to make the DNS changes for you. You can tell them something similar to, "Hello. My domain with you is _____.___ ; please, change my domain name's name servers to ns1._______.____ and ns2._______.____ ."
If you bought your domain name from HostGator, we are more than happy to help you or even make the DNS changes for you.
- Once your DNS changes have been made, you will need to wait 48 hours (two days) before your site will load from the new host. During this 48 hour period, your DNS is propagating world wide and your site will be randomly loading from either the old host or the new host. Once the two days is complete, your site will only be loading from the new host.
- After the 48 hours have passed, your updated DNS will be fully functional. You will now contact your old host and cancel your hosting account with them. If you originally bought your domain name from the old host, do not cancel your domain registration.
If you completed all the above steps, you have successfully switched hosts with no downtime at all! Click here to continue learning.
If you want to learn more on how to change your hosting provider, you can call our customer support. Moving website hosting does not need to be a difficult process. By following these instructions above, the web hosting transfer process can be fast and easy. Get started now and transfer your website to a new host!