Guide

How to move your website to a new host without downtime

A step-by-step plan for changing web hosts: copy first, test, then switch DNS, and keep email working. How to avoid the common mistakes.

3 min readBy Wiredeo

A work van parked on a street with its back doors open
Photo: Matthew LeJune, Unsplash

You can move a website with little or no downtime by building a full copy at the new host first, testing it, and only then pointing your domain at it. The old site keeps running the whole time. The two things that usually go wrong are forgetting email and switching too early.

Before you start: should you move at all?

Common good reasons: repeated slowness you cannot fix, no working backups, poor support, or a renewal price that no longer makes sense. See what to look for in a host. If the problem is a slow site, check the usual causes first, because a new host will not fix oversized images.

Step 1: list what you have

  • Where is the domain registered, and who can log in?
  • Where is the site hosted, and where is the email hosted?
  • What software does the site use (WordPress, plain files, a builder)?
  • What else points at the domain: subdomains, verification records, third-party services?

If you cannot log in to some of these, deal with it first: getting access back.

Step 2: take a full backup

Download the files and the database, or use a backup plugin. This is your safety net. See how to back up your website.

Step 3: set up the new hosting

Sign up and create the new account, but do not change your domain yet. Many hosts offer a free migration service or a migration plugin, so ask. If you do it yourself on WordPress, you will upload the files, create a new database, import your data, and update the database settings in the configuration file.

Step 4: test the copy before the public sees it

Your new host should give you a temporary address, or you can edit your computer’s hosts file to preview the new server under your real domain. Check:

  • All main pages and images load
  • Forms send, and the email arrives
  • Logins work in the admin area
  • Shop and booking functions work with a test order
  • The certificate is ready: HTTPS needs to be installed on the new host, and some hosts only issue it after the domain points to them. Plan for that. Free SSL guide

Step 5: lower the TTL, then switch DNS

DNS is the system that tells the internet where your site lives. Each record has a “TTL” (time to live), the time other computers remember it. A day or so before the move, ask your DNS provider to lower the TTL on the main records. That makes the switch spread faster. Then, at a quiet time, change the records (or the nameservers) to point to the new host. Visitors will move over gradually as caches expire; during that time, some see the old site and some the new, and both work, so nobody sees an error.

Step 6: do not forget email

This is the classic mistake. If your email is hosted with your old web host, moving the website can cut it off. Either:

  • Keep email where it is and change only the website records, or
  • Move email deliberately: create the mailboxes at the new place, copy the old messages, and update the mail records together.

Record every existing DNS entry before you change anything, particularly the MX records, which control mail delivery.

Step 7: check, then leave the old one running for a while

  • Confirm the site loads from different devices and networks.
  • Run the HTTPS checker.
  • Watch for broken images or mixed content.
  • Keep the old hosting for a week or two before cancelling, in case you missed something.
  • Then cancel it, and update your records of who hosts what.

Common mistakes

  • Cancelling the old host the same day you switch
  • Moving the domain registration when you only meant to move hosting
  • Editing the site on the old host while the move is in progress, so changes are lost
  • Forgetting subdomains, redirects or verification records

When to get help

If the site takes payments, has a lot of content or runs email on the same host, a mistake costs more. A person who has done migrations before can do it overnight and check everything.

Ask for a free review or run the free website check before you decide.

Filed under Switching platforms

Next step

Not sure where your own business stands?

A two-minute check-up shows where you are losing time and customers, and what to fix first.

Take the check-up Request an audit