How Do I Move with Less Downtime?
Switching to a new host can be a complicated process. Follow the steps below to move with less downtime as you transition to your new hosting provider.
Migration Assistance
You don’t have to move your site yourself. Our migration team can transfer your website files, databases, and other data for you.
Free site migration is available to new customers on VPS and Dedicated hosting plans with a 12-month billing term, within 30 days of signup. Paid migration services are available if you’re on a different plan or term, or if you need an entire cPanel migrated as-is.
To request a migration, go to the Marketplace in your Customer Portal.
Move With Less Downtime
Follow the steps below to migrate your website to a new hosting provider with minimal disruption to your website, email, and other services:
- Step 1: Sign Up With Your New Hosting Company ⤵
- Step 2: Make a Backup of Your Files ⤵
- Step 3: Back Up the Databases ⤵
- Step 4: Update the DNS ⤵
- Step 5: Wait to Propagate ⤵
- Step 6: Cancel Hosting With the Old Host ⤵
Step 1: Sign Up With Your New Hosting Company
Join your new host. Do not cancel with your old hosting provider or notify them yet, as this could prematurely terminate your website and cause unnecessary downtime during the hosting migration process.
Step 2: Make a Backup of Your Files
At this point, you should have hosting accounts with both your old and new hosting providers. To move your website to a new server, connect to the old host via FTP, download all files, then upload them to your new host using the same file and folder structure. For more information on FTP, see FTP Getting Started.
Step 3: Back Up the Databases
Back up any databases on your old host, contacting them if needed, and upload the backup files to your new host via FTP. Then restore the databases using SSH or cPanel’s phpMyAdmin.
Emails typically do not automatically migrate. To preserve old emails before your website migration, archive them by making a POP3 connection to each address. The new host will not have your old messages, but will receive new ones normally.
Step 4: Update the DNS
After your files and databases are on the new host, update your domain’s DNS settings. Your new hosting provider will supply the correct name servers for your hosting migration setup.
Example DNS format, replacing yourhostname.com with your host’s actual domain name:
- ns1.yourhostname.com
- ns2.yourhostname.com
DNS changes are typically managed through the company where your domain name is registered. If your domain is registered with your hosting provider, you may need to contact them for assistance updating your DNS settings. If your domain is registered with a different registrar, update the DNS settings through that registrar’s control panel, or contact their support team for assistance.
If your domain is registered with HostGator, you can update your DNS through your Customer Portal, or contact us and we’ll be happy to make the changes for you.
Please note that due to the upgrade done on the Customer Portal in November 2023, all new shared hosting customer signups will be moving to the new DNS setup.
The name servers of new customers will look like the following:
- hgns1.hostgator.com
- hgns2.hostgator.com
Customers who signed up before November 2023 were typically assigned name servers in the format below, where #### is a number specific to your account. These customers may also use HostGator’s clustered DNS name servers if configured for their account.
- ns####.hostgator.com
Step 5: Wait to Propagate
Nameserver (NS) changes can take up to 24-48 hours to propagate globally. Individual DNS record updates may take a few minutes to process, but can take up to 8 hours to complete.
During this time, your DNS propagates worldwide, and your website may load from either the old or the new host depending on the visitor. Email may also continue to be delivered to the old server until propagation is complete. Once propagation is complete, your website and new incoming email will route only through the new host.
If your website receives frequent updates, such as eCommerce stores, forums, or membership sites, consider placing the site into maintenance mode and performing a final database backup and import immediately before updating DNS. This helps prevent data discrepancies between the old and new servers. For additional guidance, see Avoid Downtime, Seamlessly Transfer Hosting with No Interruptions.
Step 6: Cancel Hosting With the Old Host
Once propagation is complete, verify that your website, email, and any other services are functioning correctly on the new host. If email or site data continued to arrive on the old server during propagation, perform a final synchronization to ensure all recent messages and data have been migrated.
After confirming everything has been successfully transferred, you can contact your old host and cancel your hosting account. Do not cancel your domain registration if you originally bought your domain name from the old host.
By following and completing the steps above, you will have switched hosts with minimal downtime.