← All answers

How do I switch web hosts without breaking my site?

TL;DR

Set up the new host with your full site staged at a temporary URL, verify every page renders correctly, then update your domain’s DNS records to point at the new host. The cutover itself is a 5-minute change; the safety comes from staging and testing before you flip DNS. Email DNS records (MX) are separate and should be reviewed before any DNS change.

A web host switch has two technical pieces: getting the site files onto the new host, and pointing your domain at it. The first piece is easy, most hosts offer one-click migrations or import tools, and in the worst case it’s a manual file upload. The second piece is where mistakes break sites and break email.

The single most common mistake is changing nameservers when you only meant to change A records. Nameserver changes wipe every DNS record at your registrar, including the MX records that route your business email. Most small business hosts ask you to "update your nameservers"; the safer path is to keep your nameservers at your registrar (or at Cloudflare) and only update the A and CNAME records that point at the website.

Before any DNS change, check where your business email lives. If it’s through Google Workspace or Microsoft 365 with custom domain, your MX records are separate from your website records and should be left alone during a host migration. If your email is through your current host (rare in 2026 but possible), the migration needs to plan for an email cutover too.

Key facts

Common follow-ups

Will my email break?

Only if you change nameservers without copying over your MX records, or if your email is hosted through your old web host. If email is through Google Workspace or Microsoft 365 with custom domain, a website host switch leaves email untouched.

Should I keep my old host running during the switch?

Yes, until DNS has fully propagated and you’ve verified no traffic is hitting the old server (check the old host’s logs). Cancel after 24–48 hours of clean propagation.

What’s the safest DNS provider for a small business?

Cloudflare DNS is the most common recommendation in 2026, free, fast, and offers easy A/CNAME management without forcing nameserver changes for related services. Most small businesses run their domain at the registrar where it was bought, with Cloudflare or Google Domains handling DNS records.

Sources

By Isaiah Grant, Founder, Rebuilt StudioUpdated Apr 27, 2026

Related answers

Want a website built to be cited by Google and AI answer engines? Drop your URL, if it’s a fit, we’ll rebuild it for free.

See if you’re a fit →