How Do You Move a Website to a New Host Without Downtime?

Ammar Sohail 5 min read
How Do You Move a Website to a New Host Without Downtime?
In this post
  1. Why does moving a website cause downtime?
  2. What to do before you move a website to a new host
  3. How do you move the site step by step?
  4. What about email?
  5. How long does DNS take to update?
  6. What can go wrong after the move?
  7. How do you know the move worked?
  8. Should you do it yourself?

You can move a website to a new host with little or no downtime by building and testing the new copy first, and only then changing your DNS to point visitors to it. The old host stays live until the switch is complete. This guide walks UAE business owners through the steps, so you know what to expect and what to ask from whoever does the move.

Why does moving a website cause downtime?

Downtime happens when the site is switched before the new copy is ready, or when email stops working because DNS records were not copied across. Both are avoidable with planning. A website move has three parts: the files, the database and the DNS settings. Miss any one of them and something breaks.

What to do before you move a website to a new host

  • Make a full backup of the files and database and store it somewhere other than the old host.
  • Note every DNS record, not just the website one. This includes MX records for email and any verification records for services you use.
  • Check who controls the domain and that you can log in to the registrar account. If you do not know, read our post on who should own your domain name.
  • Choose a quiet time. Avoid sales periods, campaign launches and the days before a deadline.

How do you move the site step by step?

  1. Lower the TTL. TTL is how long DNS servers remember your records. Lowering it a day or two before the move means the change reaches visitors faster. Your DNS provider will show where to set it.
  2. Copy the files and database to the new host. Some hosts offer a migration tool or will do it for you.
  3. Test the new copy before pointing the domain at it. You can often preview it using a temporary address from the new host, or by editing the hosts file on your own computer.
  4. Check the details. Click through forms, the checkout if you sell online, the login and any integrations. Confirm that SSL works on the new host.
  5. Freeze changes. Pause content edits, new orders and comments on the old site while you do the final copy, so nothing is lost.
  6. Update DNS so the domain points to the new server. This is the actual switch.
  7. Keep the old host running for several days. Some visitors will still reach it while DNS settles.

What about email?

If your email runs on the same host as your website, moving the site can move or break your email. Decide in advance whether the email stays where it is or moves too. If it stays, make sure the MX records are unchanged in the new DNS setup. If it moves, export the mailboxes and test sending and receiving before you switch.

Email is the part most often forgotten, so make it the first thing on your checklist.

How long does DNS take to update?

It varies. The TTL you set and the way different networks cache records both affect it, so some visitors will see the new site before others. That is why the old host should keep running for a while. Do not assume the change is complete as soon as you save it.

What can go wrong after the move?

  • Images or pages missing because files were not fully copied.
  • Forms not sending because of mail settings on the new server.
  • Mixed-content warnings if SSL is not set up properly.
  • Old links redirecting badly, which can hurt your search visibility.
  • Scheduled tasks, such as backups, not set up again on the new host.

After the move, check your key pages in Google Search Console for errors over the following weeks, and make sure automatic backups are running again. Our guide to WordPress backup frequency helps with that last point.

How do you know the move worked?

Load the site on a phone using mobile data, not your office wifi, since that bypasses your own cached copy. Submit each form and place a test order if you sell online. Confirm your SSL padlock shows, that email still arrives, and that your analytics tag still records visits. Write down the date and the old host details so you can cancel the old plan once you are certain.

Should you do it yourself?

A small, simple site on a host with a migration tool is a reasonable DIY job. A shop taking orders, a site with custom features or one tied to business email is better handled by a professional, because the cost of a mistake is lost orders. Whoever does it, ask for a written plan that covers rollback if something fails.

If you want help, our website development team can plan and carry out a migration, and you can contact us to discuss it.

Common questions

Will my email stop working during a move?

Only if the DNS email records are lost or changed by mistake. Copy every record, especially MX, and test email before and after the switch.

Should I cancel the old host straight away?

No. Keep it for several days until you are sure the new site and email work.

You might also like