Skip to content

How to switch web hosting providers without downtime

By Ash, Founder, HosteazePublished 2 min read

Keep your old hosting running, sign up with the new host, and copy your website files, database and email across. Test the site on the new server before touching DNS. Then lower your DNS TTL, point the domain at the new host, check everything works, and cancel the old plan only after a few quiet days.

Container ships being loaded under floodlit cranes at a port at night, a big move handled in careful order.
Credit: Niklas9416 via Pixabay

Moving hosts is a lot like moving house: the risky part isn't the van, it's cancelling the old tenancy before the new place has keys. Do things in the right order and visitors never notice the move. The golden rule is simple. Nothing changes for the public until the new copy is tested and working.

What do I need before I start?

Gather these first, so you're not hunting for passwords halfway through:

How do I move the website?

For WordPress, the detailed version is in how to move WordPress to a new host.

How do I switch the domain over without downtime?

How long should I keep the old hosting?

At least a few days after the switch. Some visitors and mail servers keep using the old address until their cached copy expires, and DNS propagation varies. Don't edit the old site in the meantime, or changes may get lost.

StageTypical timeVisitors affected?
Backup and copy1 to 3 hoursNo
Testing30 minutes to a dayNo
DNS change spreadingMinutes to a day or twoNo, both copies are live
Running both in parallel3 to 7 daysNo

If you'd rather not do it yourself, ask your new host about migration help before you start. Many hosts offer it free, Hosteaze included.

Step by step

  1. 1.Keep the old hosting live

    Don't cancel your current plan until the move is finished and checked.

  2. 2.Take a full backup

    Download your website files, a database export and a copy of any mailboxes hosted there.

  3. 3.Copy the site to the new host

    Upload the files, import the database and update the database details in your site's configuration file.

  4. 4.Test before changing DNS

    Preview the site on the new server using a temporary address or your computer's hosts file.

  5. 5.Lower the DNS TTL

    A day before switching, reduce the TTL on your domain's records so the change spreads faster.

  6. 6.Point the domain at the new host

    Update the A record or nameservers, and move email records if email is moving too.

  7. 7.Check, then cancel

    Confirm the site, forms, SSL and email all work, wait a few days, then cancel the old hosting.

Frequently asked questions

How long does it take to switch web hosts?

The copying usually takes an hour or two for a small site. The DNS change can take a few hours to spread, which is why you keep the old hosting running in the meantime. Plan for a week from start to cancelling the old plan.

Do I need to transfer my domain to switch hosts?

No. Your domain can stay where it's registered; you only change where its DNS records point. Transferring the domain is a separate job you can do later, or never.

Should I move email at the same time?

Only if your email is hosted with your old web host. If it's on Google Workspace or Microsoft 365, leave your email records alone and move only the website.

Sources

  1. WordPress Developer Resources, Migrating WordPress
  2. WordPress Developer Resources, Editing wp-config.php
  3. RFC 1035, Domain names, implementation and specification
A brass padlock lying open on a black background, its shackle unlocked, like a website connection without HTTPS.QuestionWhy does my website say "Not secure"?Browsers show Not secure when a page loads over plain http:// instead of https://. That usually means there's no SSL certificate, the certificate has expired or doesn't cover that version of your address, or the site isn't redirecting visitors to the secure version. Most fixes take minutes in your hosting control panel.Hosting and security · 25 November 2026A Closed sign hanging inside a shop's glass door, the shop still there but not serving customers right now.QuestionWhat is a 503 Service Unavailable error?A 503 Service Unavailable error means the server is working but can't handle the request right now. On small business sites it's usually a WordPress update stuck in maintenance mode, the hosting account hitting its resource limits, or a traffic spike. Unlike a 500 error, it's meant to be temporary.Hosting and security · 24 November 2026A rusty bicycle gear cluster with a slipped, broken chain, something failing inside the machine rather than out of sight.QuestionWhat is a 500 internal server error and how do I fix it?A 500 internal server error is the server's way of saying something went wrong but it can't say what. On small business sites the usual causes are a faulty plugin or theme, a broken .htaccess file, PHP running out of memory or an incompatible PHP version. The error log almost always names the real problem.Hosting and security · 22 November 2026Rows of large cooling fans and pipework at a data centre, part of the unseen kit a hosting company keeps running.QuestionWhat does a hosting company actually do?A hosting company rents you space on servers it keeps running around the clock in a data centre. It handles the hardware, power, network, server software, security patches and usually backups, email and SSL certificates, plus support when something breaks. Your website's content, plugins and passwords normally remain your responsibility.Hosting and security · 20 November 2026A car speedometer with the needle resting near zero, how a site on struggling hosting can feel to visitors.QuestionSigns you need to switch web hostsIt's time to switch web hosts when your site keeps going down, the server is slow to respond even after you've optimised the site, the host runs out-of-date software, support takes days to reply, or renewal prices jump without warning. Measure first, so you're sure the problem is the host and not your site.Hosting and security · 19 November 2026

Hosting with security built in

See what comes with every Hosteaze hosting plan.

See hosting plans