How to Migrate Hosts Without Downtime or SEO Loss
Switching hosts scares people because they imagine their site vanishing mid-move. Done right, visitors never notice and your rankings don't dip. Here's the exact DNS, redirect, and email checklist we use on real client sites — plus a rollback plan.
The golden rule
Never change DNS until the new site works perfectly on the new host. Everything else flows from this. If you test first, propagation becomes invisible because both servers show the same site.
Phase 1: Prepare (no live changes)
- Take a full backup of files and database.
- Note where email is hosted — this is the #1 thing people break.
- Lower your DNS TTL to 300 seconds a day ahead so the switch propagates fast.
Phase 2: Build on the new host
- Set up the domain on the new host (don't touch DNS yet).
- Copy files via SFTP or the host's free migration tool.
- Export and import the database; match PHP versions.
Phase 3: Test on a temporary URL
Use the host's preview URL or edit your local hosts file to view the new server. Click every key page, submit forms, and confirm images/links load. Fix everything now — your live site is still untouched.
Phase 4: Protect your SEO
- Keep URLs identical. If a URL must change, add a 301 redirect from old to new.
- Preserve your robots.txt and sitemap. Don't accidentally ship a "Disallow: /" from staging.
- Don't change canonical tags unless the domain itself is changing.
- After the move, resubmit your sitemap in Search Console and watch for crawl errors.
Phase 5: Switch DNS
Point your A record or nameservers to the new host. Because you tested in Phase 3 and lowered TTL in Phase 1, the cutover is fast and invisible — visitors see the same site on either server during propagation.
Phase 6: Verify and keep a rollback
- Confirm the new server is serving with our DNS Lookup and Headers Inspector.
- Test email sending and receiving.
- Keep the old host live for 48–72 hours. If anything breaks, point DNS back — instant rollback thanks to the low TTL.
- Only cancel the old plan after full propagation and a clean day of monitoring.
The three mistakes that cause downtime
- Changing DNS before testing the new site.
- Forgetting email lived with the old host.
- Cancelling the old plan too early.
Choosing the destination host first? Compare options in our comparisons or read the step-by-step migration guide.