Migration GuideEditorial guide

How to Switch Web Hosts Without Downtime

Most hosting-switch horror stories come from doing the steps in the wrong order — cancelling first, migrating second. Done right, your visitors never notice. Here's the sequence, including the email trap that catches almost everyone.

Last updated: By: W. Miller, Editor, Digital Hosting — reviewed independently by the Digital Hosting editorial team.

Disclosure: Digital Hosting may earn a commission when you buy through our links. This does not affect our recommendations.

Summary verdict

The short answer

Build the site on the new host while the old one still runs, test it via a temporary URL, drop your DNS TTL to 300 seconds a day ahead, switch DNS during your quietest hour, and keep the old account alive for two more weeks. Never cancel first. If your host includes free migration (Cloudways, SiteGround, and Hostinger all do on inbound moves), let them do the heavy lifting — but the DNS and email steps are still yours.

At a glance

Comparison table

Cloudways

Managed cloud for growing sites

Best Overall
Starting price
from $11/mopay-as-you-go, DigitalOcean 1 vCPU / 2 GBVerified July 2026
Ease
Performance
Support
Migration
Included
Email
Paid add-on

SiteGround

Premium shared hosting with strong support

Premium Pick
Starting price
from $2.99/mo12-month prepayrenews at $17.99/moVerified July 2026
Ease
Performance
Support
Migration
Included
Email
Included

Hostinger

Budget-friendly first sites

Best for Beginners
Starting price
from $2.99/mo48-month prepayrenews at $10.99/moVerified July 2026
Ease
Performance
Support
Migration
Included
Email
Included

Providers in this guide

Our picks, scored

Best managed cloud

Cloudways

Growing sites that want managed cloud without ops work

4.6
Editor score
Pricing
from $11/moVerified July 2026

Pros

  • +Managed hosting on top of DigitalOcean, Vultr, AWS, GCP
  • +Easy scaling and server cloning
  • +Solid caching stack out of the box

Cons

  • No included email hosting
  • Add-ons can increase monthly cost

Confirm current pricing on the provider's site.

Visit Cloudways
Best support

SiteGround

Small business sites that want hand-holding support

4.5
Editor score
Pricing
from $2.99/morenews at $17.99/moVerified July 2026

Pros

  • +Excellent 24/7 support across chat, ticket, and phone
  • +Custom control panel that's cleaner than cPanel
  • +Daily backups and free CDN included

Cons

  • Renewal pricing roughly 3× the intro rate
  • Storage caps on lower plans

Confirm current pricing on the provider's site.

Visit SiteGround
Best for beginners

Hostinger

Beginners and budget-focused first sites

4.4
Editor score
Pricing
from $2.99/morenews at $10.99/moVerified July 2026

Pros

  • +Low entry pricing on long-term plans
  • +Beginner-friendly control panel
  • +Free SSL and basic email included

Cons

  • Renewal pricing higher than intro
  • Shared hosting performance varies under load

Confirm current pricing on the provider's site.

Visit Hostinger

Step 1–3: Before you touch anything

First, take a full backup you control: site files, database dumps, and — separately — every email mailbox if mail lives at your host. Download them to your own machine; a backup that only exists inside the account you're leaving isn't a backup.

Second, inventory what actually runs the site: PHP version, cron jobs, redirects, SSL certificates, and any email addresses on the domain. The migration failures that surface a week later are almost always something missing from this list.

Third, buy the new hosting before cancelling the old — you need both accounts alive simultaneously. The overlap costs a few dollars; skipping it is how sites go dark for days.

Step 4–6: The parallel build and the DNS cutover

Restore your site on the new host and test it before DNS changes, using the host's temporary/staging URL or a hosts-file override on your own machine. Click through forms, logins, and checkout — not just the homepage.

A day before the switch, lower your domain's DNS TTL (the record cache time) to around 300 seconds so the change propagates in minutes instead of days. This is the single highest-leverage step in the whole process, and the most skipped.

Then switch the DNS records during your lowest-traffic hour, watch both hosts' access logs, and confirm traffic drains to the new server. With a low TTL, the overlap window where some visitors still hit the old host is minutes long — which is why the old site must stay up and unchanged through the cutover.

The email trap, and the two-week rule

If your email runs on the old host, migrating the website silently schedules a mail outage: when DNS moves, mail delivery follows the new MX records immediately, but your mailboxes don't move themselves. Either migrate mailboxes first (IMAP copy), or — our standing recommendation — use the move to separate email from web hosting entirely, so the next hosting switch never touches your inbox again.

Finally: keep the old account for two weeks after cutover. Stragglers with cached DNS, a forgotten cron job, a subdomain nobody remembered — the overlap fortnight is when you find them for free instead of after the account is deleted.

Best fit for

  • +Anyone whose renewal invoice just tripled
  • +Site owners moving off a host that's degraded over time
  • +First-time migrators who want a checklist, not a lecture

Consider another option if

  • You're moving a WordPress site specifically — our WordPress migration guide covers the plugin-assisted path
  • Your site and email live on the same box and you can't schedule a maintenance window for mail cutover
  • You're mid-billing-dispute with your current host — export your backups before anything else

Questions readers ask

FAQ

The copy itself is usually an afternoon for a typical small site. The calendar time is longer: a day of TTL lead time, the cutover hour, and a two-week overlap for safety. Plan a week end-to-end and you'll have slack.

Keep reading

Related on Digital Hosting

Written and reviewed by

W. Miller Editor, Digital Hosting

W. Miller is the editor of Digital Hosting and oversees TetraCore's review sites. Every price on this site is verified against the vendor's public pricing page and dated; nothing is scored on marketing claims.

See our affiliate disclosure and how we test and score providers.