1. Knowledge Base
  2. >
  3. Results
  4. >
  5. How Do I Move with Less Downtime?

How Do I Move with Less Downtime?

Switching to a new host can be a complicated process. Follow the steps below to ensure a smooth and painless transition to your new host.

Step 1: Sign up with your new hosting company

Join your new host. Do NOT cancel with your old hosting provider or tell them you are canceling, as this could prematurely terminate your site and cause downtime. 

Step 2: Make a backup of your files

At this point, you should have hosting accounts with two hosting providers (the old host and the new host). You will now migrate your entire site from the old host to the new one. This can be done by connecting to the old host's FTP, downloading all your files, and then connecting to the new host's FTP and uploading all your files (maintaining the same file and folder structure). More information on FTP can be found in our FTP Getting Started article.

If you choose to make HostGator your new host, we may transfer your entire site over free of charge! For more information, please see the following article:

Step 3: Backup the databases

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 usually transfer, but you can archive your emails from the old host by making a POP3 connection to each email address; 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.

Note: If you choose to make HostGator your new host, we may transfer your entire site (files and databases) over free of charge! If your old host used cPanel, we might be able to transfer emails as well. 

Step 4: Update the DNS

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 look like this (replace yourhostname.com with your host's actual domain name):


Once you have the correct DNS, go to the registrar, which is 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.

If you bought your domain name from HostGator, we are more than happy to help you or even make the DNS changes for you.

Step 5: Wait to propagate

Once your DNS changes have been made, you will need to wait 48 hours from the time of the change before your site will load from the new host. During these 48 hours, your DNS propagates worldwide, and your site will randomly load from either the old host or the new host. Once the two days are complete, your site will only be loading from the new host. 

Step 6: Cancel hosting with the old 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.

By following and completing all of the steps above, you will have successfully switched hosts with no downtime at all! For advanced techniques, please refer to the following article: