How to migrate a website to a new host without downtime

You can move a website to a new host without downtime if you keep the old site running until the new one is tested, and only then switch the domain. The visitor never sees a gap, because both servers hold a working copy of the site while the change spreads across the internet.

This guide gives you the full checklist: what to do before the move, how to copy everything, how to test, and how to switch safely. It also covers email, which is the part people forget and regret.

Why a move can cause downtime, and how to avoid it

Downtime usually happens for three reasons. The domain is pointed at the new server before the site is ready. The database or files were copied incompletely. Or the email setup was left behind. All three are avoidable. The rule is simple: build and test the new site first, keep the old one live, and switch the domain last.

When you change where a domain points, the update takes time to reach every network. That period is called DNS propagation. If both servers show the same working site during it, visitors get a working page whichever server they reach.

Before you start

1. Take a full backup

Download all website files, export the database, and back up your mailboxes. Keep this copy somewhere outside the old host. If anything goes wrong, you can start again from it.

2. List everything the site depends on

Write down your domain and where its DNS is managed, email accounts, subdomains, SSL certificates, scheduled tasks, redirects, and third-party connections such as payment gateways, forms and analytics. This list is your checklist for testing later.

3. Lower your DNS TTL

TTL is how long other networks keep your old DNS answer. A day or two before the move, set it to a low value such as 300 seconds, so that the final switch takes effect quickly.

4. Choose a plan that fits

Check the site’s real size and traffic, then pick a plan with enough storage, memory and email accounts. Our hosting comparison guide shows what to look for. Moving to a plan that is too small just creates a second problem.

The migration steps

5. Set up the new hosting account

Create the account, add your domain, and match the PHP version your site uses. A site built for an older PHP version can break on a newer one.

6. Copy files and the database

Upload the site files, create a new database and user, and import the exported data. On WordPress, update the database details in the configuration file. If the domain name is staying the same, you should not need to change any URLs inside the site.

7. Move your email

Create the same mailboxes on the new server and copy the existing messages across. Do not change the email routing yet. Email goes last, as the final section explains. If you want to move to dedicated business email, read our business email guide first.

8. Test the new site before anyone else sees it

Preview the new copy without changing public DNS, either through a temporary URL from your host or by editing the hosts file on your computer to point your domain at the new server. Then check:

9. Pause changes briefly

For a blog or company site, stop editing content for an hour or so around the switch. For an online store, pick a quiet time of day, because an order placed on the old server during the switch will not appear on the new one.

10. Switch the domain

Change the nameservers or the DNS records to point at the new host. With the low TTL you set earlier, most visitors reach the new server within minutes to hours. Keep the old site running during this window.

11. Point email to the new server last

Once the website is stable, update the mail records so new messages arrive at the new mailboxes. Then check that sending and receiving both work and that old messages are present.

After the move

Mistakes that cause downtime

Let us do it for you

MrHost migrates websites and mailboxes for free when you move to one of our hosting plans. Contact us before you cancel your old hosting, send us the details, and we will handle the transfer and tell you the right moment to switch your domain. Request a free migration.

Frequently asked questions

Will my website really have no downtime?

If the new copy is tested and the old one stays live until the domain change has spread, visitors should not see a gap. Dynamic sites such as stores need extra care around the switch.

How long does DNS propagation take?

It varies. With a low TTL, most visitors reach the new server within minutes to a few hours, but some networks can take longer. That is why you keep the old site running for a while.

Will moving hosts affect my Google rankings?

A clean move should not. Problems come from downtime, broken pages or changed URLs. Keep the URLs the same, avoid errors, and check Search Console afterwards.

Can I move my email too?

Yes, and you should plan it as a separate step. Copy the mailboxes first and switch the mail records last.

Do I need technical skills to migrate?

For a simple site you can follow this checklist. For a large site, a store or a custom application, it is safer to let the new host handle it.

Need hosting, a domain or business email?

Tell us what you are building and the MrHost team will point you to the right plan.

Talk to MrHost

Leave a Reply

Your email address will not be published. Required fields are marked *