Skip to content
Blog

How to Move a Website to a New Host Without Downtime

Moving hosts does not have to mean an outage. Follow this order of steps and your visitors and email will barely notice the change.

A cardboard box waiting beside a door
On this page

Changing hosting providers worries many site owners, usually because of a past move that went wrong: a blank page for a day, lost emails, or a shop that stopped taking orders. The good news is that almost all of those problems come from doing the steps in the wrong order. With a clear plan, a website and its email can move to a new host with little or no interruption for visitors.

Step 1: Take stock of what you have

Before you copy anything, list what the current host provides. Most people remember the website and forget the rest. Check for:

  • Website files, including uploads, themes and plugins.
  • Databases, such as the MySQL database behind WordPress or a shop.
  • Email accounts, forwarders and autoresponders.
  • Scheduled tasks (cron jobs) that send emails or run reports.
  • DNS records for services like Google Workspace, Microsoft 365, payment providers or verification tokens.
  • Subdomains and addon domains on the same account.
  • SSL certificates you bought separately.

Our DNS lookup tool shows the records your domain publishes right now. Save a copy: it is the checklist you will compare against after the move.

Step 2: Back everything up

Download a full backup from your current control panel, including files, databases and email. Store it somewhere other than the old or new server. If anything goes wrong, this is your safety net. Do not cancel the old hosting yet; you will need it until the move is confirmed.

Step 3: Lower the DNS TTL

Every DNS record carries a TTL, or "time to live", which tells other networks how long to remember its value. If your A record has a TTL of 24 hours, some visitors may keep reaching the old server for a full day after you change it. A day before the move, lower the TTL on your main records to a few minutes. When you switch, the change will spread much faster.

Step 4: Set up the new hosting and copy the site

Create the account on the new host, add your domain, and copy the files and databases across. Between two cPanel hosts this is straightforward: a full cPanel backup can often be restored in one step. Between different control panels, files and databases are moved separately and settings such as PHP version are matched by hand.

Update the site's configuration to use the new database details. For WordPress, that means the database name, user and password in wp-config.php.

Step 5: Test before anyone else sees it

This is the step that prevents almost every bad migration. Before you touch DNS, view the copied site on the new server. You can use a temporary address from your host, or edit the hosts file on your own computer so that only your browser sees the new server.

Click through the important pages, log in, submit a contact form, add something to a basket and check that images load. Look for error messages and mixed-content warnings. If you run a shop, put through a test order using the payment provider's test mode.

Step 6: Plan the switch for a quiet time

Pick a time when traffic is low. For a shop, pause new orders or put the site into maintenance mode for the final sync, so no order lands on the old server after the last copy. Then make a final copy of anything that changed since the first copy, usually the database.

Step 7: Point the domain at the new server

You have two options. If the new host also handles your DNS, change the domain's nameservers at the registrar. If you keep DNS elsewhere, change the A record (and any AAAA record) to the new server's address. Because you lowered the TTL, most visitors will reach the new server within minutes to a few hours.

Moving the domain registration itself is a separate task and is not needed to move hosting. You can transfer the domain later if you want everything in one client area.

Step 8: Move email at the same moment

Email follows the domain's MX records. Create the same mailboxes on the new host, copy the old mail across, and update the MX records at the same time as the website. Re-add SPF, DKIM and DMARC records so your messages keep reaching inboxes. Check from an outside account that you can send and receive.

Step 9: Check everything again

  • The site loads over https with a valid certificate.
  • Forms, logins and checkout work.
  • Scheduled tasks run on the new server.
  • The DNS records match the list you saved in step 1, apart from the ones you meant to change.
  • Search engines can still reach the site; nothing is blocked in robots.txt.

Leave the old hosting running for at least a few days. Some networks hold old DNS values longer than they should, and a few emails may still arrive at the old server.

Let someone else do it

If this sounds like more than you want to handle, most good hosts will move a site for you. Our team copies your website, databases and email, checks the copy with you, and switches your domain at a time you choose. See how migration works.

Frequently asked questions

How long does a website migration take?

Copying a typical small business site takes an hour or two. Large sites and mailboxes take longer. The DNS change usually spreads within a few hours once the TTL has been lowered.

Will I lose emails during the move?

Not if both servers stay active during the switch. A few messages may land on the old server while DNS updates; copy them across after the switch.

Do I need to transfer my domain to move my hosting?

No. Hosting and domain registration are separate. You only need to change where the domain points.

Should I update WordPress before or after the move?

Before is usually safer: move a site that already works on current versions, then you are only troubleshooting one change at a time.

When can I cancel my old hosting?

After you have confirmed the new site, email and scheduled tasks work, and a few days have passed with no traffic reaching the old server.

Written by

telaHosting

Writes for telaHosting on the topics our customers ask about most.

Join the conversation

What is your perspective?

Share a useful experience or ask a question. Keep the discussion constructive and avoid sharing private customer information.

Leave a comment

Your email address is kept private.

New comments are reviewed before publication to keep the discussion useful.