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
- Set up hosting on the new host and create your domain there (without pointing DNS yet).
- Copy everything: your files, databases and email accounts. Many hosts do this for you.
- 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.
- Recreate email mailboxes on the new server and confirm they work.
- Change your DNS to point to the new host only once the copy is tested and ready. This is the real switch.
- 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.
While you are at it, our guide on speeding up a slow website helps you get the most from your new, faster host.