SilLobby

How to Migrate Your Website to a New Host Without Downtime

Move your website to a new host with no downtime and no lost email, using a simple order: copy first, test on the new server, then switch DNS last. A clear step-by-step.

By SiloLobby Team 15 November 2024 4 min read
In this guide
  1. Before you start
  2. The safe migration order
  3. A pre-flight checklist
  4. Common migration mistakes
  5. After the switch
  6. Moving email without losing a message
  7. Moving a WordPress site specifically
  8. Let your host do the heavy lifting

Short answer: migrate with no downtime by doing it in this order: copy your site and email to the new host, test it there, then change your DNS last. Because both hosts run during the switch, visitors always land on a working copy. Lower your DNS TTL a day before so the change takes effect fast.

Moving hosts sounds scary, but downtime only happens when people switch DNS first and scramble to rebuild on the new server. Do it in the right order and visitors never notice.

Before you start

  • Lower your DNS TTL to a low value (such as 300 seconds) a day ahead, so when you finally switch, the change spreads quickly.
  • Make a full backup of your current site, databases and email. See how to back up your website.
  • List your email accounts so you can recreate them exactly on the new host.

The safe migration order

  1. Set up hosting on the new host and create your domain there (without pointing DNS yet).
  2. Copy everything: your files, databases and email accounts. Many hosts do this for you.
  3. Test on the new server using a temporary address or your computer's hosts file, so you can see the new copy before the public does. Click through pages, test forms and check your store if you have one.
  4. Recreate email mailboxes on the new server and confirm they work.
  5. Change your DNS to point to the new host only once the copy is tested and ready. This is the real switch.
  6. Keep the old host running for one to two weeks, so any late traffic or email still has somewhere to land while DNS finishes spreading.

Because both servers are live during the DNS change, every visitor reaches a working site the whole time. If you are unsure how DNS points your domain at a host, see DNS records explained.

A pre-flight checklist

Before you change any DNS, confirm you have:

  • A full, tested backup of the old site, its databases and email.
  • The new site loading correctly on a temporary address or preview link.
  • Every email mailbox recreated on the new server, with the same addresses.
  • A note of your current DNS records, so you can revert instantly if needed.
  • A low DNS TTL set at least a day in advance.

If any of these is missing, stop and finish it first. The whole no-downtime method depends on the new copy being ready before you switch.

Common migration mistakes

  • Switching DNS first. This is the one guaranteed way to cause downtime; always switch it last.
  • Forgetting email. People remember the website and overlook mailboxes, then lose mail. Recreate and test every mailbox.
  • Cancelling the old host too soon. Keep it a week or two so late traffic and mail still have somewhere to land.
  • Ignoring the database. A site with a database (like WordPress) must have it copied and connected, not just the files.

After the switch

  • Confirm your site loads over HTTPS with a valid SSL certificate on the new host.
  • Send and receive a test email on each mailbox.
  • Watch traffic and email for a few days before cancelling the old plan.

Moving email without losing a message

Email causes more migration pain than websites, because people forget it. Before switching DNS: recreate every mailbox on the new server with the same address, and if you use IMAP (which keeps mail on the server), your messages are already stored centrally, so set the new mailboxes up and let them sync. Keep the old mailboxes live for a week or two after the switch, because while DNS is still spreading, some mail may arrive at the old server. Checking both for a short while guarantees nothing is missed. If you use POP (which downloads mail to one device), back up that device's mail first.

Moving a WordPress site specifically

A WordPress site is files plus a database. Copy both, update the site's configuration with the new database details, and point the site address correctly. A good migration plugin, or your host's migration service, automates all of this. Test the copied site on a temporary address, click through pages and the admin area, and only then switch DNS. See also how to install WordPress if you are rebuilding rather than copying.

Let your host do the heavy lifting

Good hosts offer free migration and will copy your site and email for you, which removes most of the risk. SiloLobby includes migration help on its hosting plans, so you can move without touching a line of code.

Move to SiloLobby hosting →

While you are at it, our guide on speeding up a slow website helps you get the most from your new, faster host.

Frequently asked questions

Will my website go down when I move hosts?

It should not, if you copy and test everything on the new host first and only change your DNS last. Because both hosts run during the switch, visitors always reach a working copy.

How long does a host migration take?

The copy and testing can take an hour to a day depending on site size. The DNS change then spreads over a few hours (up to 48 in rare cases), during which visitors see one host or the other, both working.

Will I lose email during the move?

Not if you recreate your mailboxes on the new server and keep the old one running until DNS has fully switched. Lower your DNS TTL beforehand so the change takes effect quickly.

Should I cancel my old hosting immediately?

No. Keep it for one to two weeks after the switch, until you are sure all traffic and email flow through the new host and nothing was missed.

Can my host migrate the site for me?

Often yes. Many hosts offer free migration and will copy your site and email for you. SiloLobby includes migration help, which removes most of the risk.

SiloLobby

Fast cPanel hosting

NVMe storage, free SSL, unlimited email accounts and free migration.

See hosting plans
  • #migration
  • #web-hosting
  • #dns
  • #downtime

More web hosting guides

How to Migrate Your Website Without Downtime | SiloLobby Global