NewReady-made websites, live on your domain in days. Browse designs

How to Change Web Hosting Without Downtime

How to change web hosting without downtime on a WordPress business site: the DNS prep, private testing, email, SSL, order freeze, cutover and rollback, in the order we run them.

November 15, 2026

Network equipment with ethernet cables plugged in, like the servers involved in a web hosting change

Key takeaways

  • Downtime on a host move rarely means a blank screen. It means lost form entries, lost orders and lost email while two servers both think they are live.
  • Lower the DNS TTL at least one full old-TTL period before cutover. A 24-hour TTL lowered on the day of the switch still caches for 24 hours.
  • Change only the A and AAAA records when you can. A nameserver switch rebuilds every DNS record at once, MX and SPF included.
  • Freeze forms and checkout for the final database sync. On WooCommerce Subscriptions, turn off renewals on the old copy, or it keeps charging cards.
  • Cancel the old host when its logs show zero visitors and nothing still depends on it, not after a fixed 48 hours.

A dental practice moves to a faster host on a Friday night. The new site loads perfectly by Saturday. On Monday, the office finds three appointment requests from the weekend sitting on the old server, which nobody was watching.

That is what downtime looks like on most business sites. You can change web hosting without downtime, but only if you treat it as a handover between two live servers. Build and test the copy first, prepare DNS days ahead, freeze anything that writes to the database during the final sync, then switch and keep the old server as your fallback.

This guide covers a host move where the domain and every URL stay the same. It is the routine behind our WordPress migration service, which lists sites changing hosts among the moves it handles. If your URLs, platform or domain change too, start with our website migration SEO checklist for the redirect side.

What actually breaks when you move a WordPress site to a new host?

Usually nothing you can see. The real failures are quiet: data written to the wrong server, mail routed to a dead mailbox, or a certificate that fails for some visitors.

For a few hours or days, some visitors reach the old server and some reach the new one. Which one they reach depends on DNS caches you do not control. Any action that saves data during that window lands on whichever server the visitor happened to reach.

So the job has four parts:

  • Visitors: both servers must serve a working, identical site during the overlap.
  • Data: nothing that matters may be written to the server you are about to retire.
  • Mail: MX records (the DNS entries that route your email) must not change by accident.
  • Trust: the new server needs a valid SSL certificate from its first request.

Get those four right and visitors never notice the move. Skip one and the site looks fine while the business loses leads.

Step 1: Which DNS records do you need to copy before you start?

All of them. Export or screenshot the full zone at your current DNS provider before you change a single value, because a host move is the moment most small sites lose a record nobody remembered.

First, find out who answers for your domain. Look up the nameservers at your registrar. They might belong to the registrar, your current host, or a service like Cloudflare. Whoever runs the nameservers runs your DNS, and that is where every edit below happens. If the split between registrar, nameservers and host is still fuzzy, our explainer on how domains and hosting fit together separates the three.

Record What it does Changes in a host move?
A and AAAA (root domain) Points example.com to the web server’s IPv4 and IPv6 address Yes. This is the switch.
CNAME or A for www Points www.example.com to the site Yes, if it names the old server
MX Routes incoming email to your mail provider Only if email lives at the old host
TXT for SPF Lists the servers allowed to send mail for your domain Add the new server if the site sends mail itself
TXT or CNAME for DKIM and DMARC Signs outgoing mail and sets the policy for failures No, but they vanish if you rebuild the zone carelessly
TXT verification records Prove ownership to Google, Microsoft 365 and similar services No, copy them as they are
CAA Limits which certificate authorities may issue SSL for the domain Check it allows the new host’s certificate provider
Other subdomains Booking tools, client portals, shop or mail login pages Only the ones hosted on the old server

Save the export somewhere outside the old hosting account. If the old host also runs your DNS and you close the account, the zone goes with it.

Step 2: How far ahead should you lower the DNS TTL?

At least one full current TTL before cutover, and ideally a week. Lowering it late does nothing for the caches that already hold your old record.

TTL (time to live) is the number of seconds a resolver may keep your record. RFC 1035, the original DNS standard, defines it as the interval a record may be cached “before the source of the information should again be consulted.” A resolver that fetched your A record with a TTL of 86,400 seconds will keep serving it for a full day, whatever you change in the meantime.

Here is the sequence that works:

  1. Note the current TTL on the A, AAAA and www records. Many hosts default to 3,600 seconds (one hour) or 86,400 (one day).
  2. Lower it to 300 seconds (five minutes) at least one old-TTL period before cutover. Google’s guide to moving hosts without URL changes suggests doing this about a week ahead.
  3. Leave MX records alone unless email is moving too.
  4. Raise the TTL again once the new server has run cleanly for a week.

If Cloudflare proxies your site, the TTL is fixed. Cloudflare’s documentation sets proxied records to Auto, which is 300 seconds, and lets DNS-only records go as low as 60 seconds. Behind the proxy, visitors see Cloudflare’s addresses, so changing the origin IP takes effect almost at once.

A low TTL is a promise, not a guarantee. Some resolvers and devices hold records longer than asked. That is one more reason the old server must keep running after the switch.

Step 3: How do you build the copy on the new host while the old site stays live?

Copy the files and the database to the new server, and change nothing on the live site’s DNS yet. Because the domain stays the same, the copy needs no URL rewriting.

The WordPress documentation on moving WordPress keeps a same-domain move simple. Copy the files, import the database, and update wp-config.php if the database name, user or password differ on the new host. Take a full backup of the old site first, and keep it off both servers. Our guide to WordPress backups and restores covers where to store it.

Then match the environment before you test anything:

  • PHP version: same as the old server, or one you have tested the theme and plugins on.
  • Cron jobs: recreate any server cron that runs wp-cron.php, backups or imports. Leave them off for now.
  • Outgoing mail: if forms send through an SMTP plugin, it moves with the database. If they relied on the old server’s mail function, set up SMTP now.
  • Caching and security rules: server-level redirects, .htaccess rules and firewall settings do not always travel with a plugin export.

SSL needs a plan before cutover. Free certificates from Let’s Encrypt are usually issued with the HTTP-01 check, and its documentation states that “The HTTP-01 challenge can only be done on port 80” of the server your domain points to. Until DNS moves, that is the old server, so the new host cannot pass the check. You have three ways around it: ask the new host to issue through a DNS-01 check (a TXT record at _acme-challenge), install a certificate you already hold, or put Cloudflare in front so visitors see its certificate while the origin is replaced.

Without one of these, the first visitors to reach the new server see a browser security warning. That is downtime in practice, even if the server is up.

Step 4: How do you test the new server before visitors see it?

Point only your own computer at the new server with a hosts file entry. You then browse the real domain, on the new server, while everyone else still reaches the old one.

The hosts file is a small text file your computer checks before it asks DNS. On Windows it sits at C:\Windows\System32\drivers\etc\hosts, and on a Mac at /etc/hosts. Add two lines with the new server’s IP address, for example:

203.0.113.10 example.com
203.0.113.10 www.example.com

A temporary URL from the new host is less reliable for WordPress. The site stores its own address in the siteurl and home settings, and the WordPress documentation says you must change those temporarily to test on a different address. Links and logins then redirect back to the live domain, which defeats the test. The hosts file avoids that because the address never changes.

With the override on, check each of these on the new server:

  1. Top pages load with images, fonts and styles, on desktop and phone.
  2. Every form submits, and the email arrives in the right inbox.
  3. Login works for an admin and, if you have them, a customer or member account.
  4. Checkout runs in your payment gateway’s test mode, if you sell online.
  5. Search, filters and 404 pages behave as they do on the old server.
  6. The padlock shows a valid certificate, or you know exactly when it will.

Remember that payment callbacks and webhooks from outside services still go to the old server during this test. A test order may not update its status. That is expected until cutover.

Remove the hosts entries when you finish testing. If you forget, you will not see what real visitors see on cutover day.

Step 5: How do you keep email working when you change hosts?

If your email runs on Google Workspace or Microsoft 365, keep the MX records exactly as they are and change only the web records. If your mailboxes live at the old host, move them as a separate, planned step.

The A record and the MX records are independent. Changing where example.com points has no effect on where mail for you@example.com goes. The risk comes from a nameserver switch. Moving to the new host’s nameservers replaces your entire zone with whatever the new host creates by default, and that default rarely includes your MX, SPF, DKIM or verification records. If those record types are new to you, start with domains and hosting explained, which walks through nameservers and the DNS records a business site needs.

That is why we change the A record at the existing DNS provider whenever we can. One record changes, and everything else stays put.

Close-up of a phone mail app icon, the inbox that MX records keep working during a host move
Email follows the MX records, not the website’s A record, so a careful host change leaves the inbox untouched. Photo by Brett Jordan on Unsplash

When mailboxes must move off the old host, create them on the new provider first. Copy old messages over IMAP, then switch the MX records with a short TTL. Mail servers are built for this kind of gap. RFC 5321, the email transport standard, says a sending server’s retry interval “SHOULD be at least 30 minutes” and that the give-up time “generally needs to be at least 4-5 days.” A short delay holds mail in a queue. A wrong MX record bounces it.

One more email check: if the website sends mail from the new server’s own IP, add that server to your SPF record. Otherwise your contact form notices start landing in spam the day after cutover.

Step 6: How do you avoid losing form entries and orders during the switch?

Pause everything that writes to the database, run a final sync from old to new, then switch DNS while the pause is still on. Content edits, comments, form entries, bookings and orders all count.

Your test copy is days old by cutover. Anything saved on the live site since then exists only on the old server. The freeze closes that gap:

  1. Pick a quiet hour from your own analytics, often early morning on a weekday for a local business.
  2. Stop editing. Tell staff not to publish, update products or change settings until you say so.
  3. Pause forms and bookings, or show a short notice with your phone number.
  4. Close checkout. WooCommerce has a built-in Coming soon mode under Settings, Site visibility, with a “store pages only” option that leaves the rest of the site open.
  5. Export the database again and import it on the new server. Copy any uploads added since the first copy.
  6. Switch DNS, confirm the new server answers, then reopen forms and checkout on the new server only.
Online checkout screen with payment details and a shopping cart on a store website
Closing checkout for the final database sync keeps every order on the server that will stay live. Photo by Ze Vieira on Unsplash

Subscription stores need one extra step. WooCommerce Subscriptions normally detects a copied site and stops it charging customers, but only when the site URL changes. In a same-domain host move it does not, so both servers run in live mode.

“Without completing one of these steps, your old site will continue to process real recurring payments.”

WooCommerce, How Subscriptions handles staging sites and migrations

The fix the documentation recommends is to disable the Action Scheduler queue runner on the old site once the new one is live. Do it right after the final sync. Otherwise a customer can be billed twice, once by each server.

Step 7: What happens on cutover day, and how do you roll back?

Cutover is a single DNS edit followed by a few hours of watching both servers. Rollback is the same edit in reverse, and it only works if you have not touched the old server.

This is the timeline we work to on a business site:

When Action Done when
7 days before Export the DNS zone, lower web record TTLs to 300 seconds, take a full backup Lookups return the new, short TTL
3 to 5 days before Copy files and database to the new host, plan SSL, recreate cron and mail settings Site loads through the hosts file override
1 to 2 days before Full test pass on the new server; agree the freeze window with staff Every form, login and test checkout works
Cutover, hour 0 Freeze writes, final database and uploads sync, change the A and AAAA records Public lookups return the new IP
Hours 0 to 2 Lift the freeze on the new server; test from a phone on mobile data; confirm SSL A real form entry and order arrive from the new server
Hours 2 to 48 Watch access logs on both servers; turn on cron on the new one Old server traffic falls toward zero
Days 3 to 7 Check search crawler access in Search Console; raise TTL back up No crawl or server errors

Set your rollback trigger before you start

Decide in advance what sends you back: checkout failing, forms not delivering, or errors on key pages for more than 30 minutes. If it happens, point the A record back to the old IP, lift the freeze there, and fix the new server in private. With a 300-second TTL most visitors return within minutes. Copy any orders or entries the new server took before you retry.

Do not uninstall plugins, delete files or change settings on the old server during this window. Its value is that it still works exactly as it did yesterday.

When is it safe to cancel the old hosting plan?

When its access logs show no real visitors for several days, and nothing else depends on the account. That point is set by evidence, not by a calendar.

Here is where the common advice goes wrong. Most host-switching guides say to wait 48 hours for propagation, then cancel. That figure is not part of DNS. With a 300-second TTL, almost all traffic moves within an hour. With a one-day TTL you never lowered, some of it lags for days.

Worse, the 48-hour rule watches the wrong risk. The danger is not slow propagation. It is an old copy that is still running, with its cron jobs firing, its forms accepting entries from cached visitors, and possibly its store charging cards.

Before you cancel, confirm each of these:

  • Access logs on the old server show only bots and scanners, no real page views or form posts.
  • Cron and scheduled tasks on the old copy are switched off.
  • No mailboxes, DNS zone or other sites still live in the account.
  • You have downloaded a final full backup and stored it elsewhere.
  • You know the renewal date, so the account does not auto-renew for another year.

Keeping the old plan for one extra billing period is cheap insurance on a business site. Keep the domain registration where it is unless you have a separate reason to transfer it.

How does WPmodo handle a change of host?

We start with a full inventory of your pages, posts, media and URLs, rebuild and test everything on staging, then switch with no downtime. Your old site stays live until you approve the new one, and we take a full backup before anything changes.

Package Size Price Delivery Relevant to a host change
Launch Up to 10 pages $249 5 business days SSL and backups configured, contact form rebuilt and connected, zero-downtime domain switch
Growth Up to 30 pages and up to 100 blog posts $449 9 business days Everything in Launch, plus all forms rebuilt and connected, broken link check, Search Console and sitemap setup
Scale Up to 75 pages $849 14 business days Everything in Growth, plus store products and customers moved where your platform allows export, and 30 days of ranking and error monitoring

Each package includes 30 days of free support after the move. You pay through PayPal, in full or in 2 milestones of 50%, with the second paid after you approve the finished site. Once the site has settled on its new server, our WordPress care plans can take over updates and backups from $49 a month.

Check your site this week

  • Do you know which company runs your nameservers? Yes or no.
  • Do you have a saved copy of every DNS record, stored outside your hosting account? Yes or no.
  • What is the current TTL on your root A record, in seconds?
  • Does your email run on the same hosting account as the website? Yes or no.
  • Do your forms send through an SMTP service rather than the server’s own mail? Yes or no.
  • If you sell subscriptions, do you know how to stop renewals on a copy of the site? Yes or no.
  • When does your current hosting plan renew? Write down the date.

Frequently asked questions

Do I have to transfer my domain to the new host?

No. The domain registration and the hosting are separate services. You can leave the domain at its current registrar and only change the DNS records that point the website to the new server. Transferring a domain is a separate process with its own release and authorization steps, so doing it on the same day as a host move adds risk for no benefit. Move the hosting first, and transfer the domain later if you want everything in one place.

Will changing hosts hurt my Google rankings?

Not if the URLs and content stay the same and the new server is fast and reachable. Google treats a host change as a move without URL changes, so no redirects are needed. Its guidance says a short dip in crawling right after launch is normal. Check that the new host’s firewall does not block search crawlers, and watch Search Console for server errors during the first week.

How long does DNS propagation really take?

Mostly as long as the TTL on the record you changed. With a 300-second TTL set well in advance, most visitors reach the new server within minutes to an hour. A small share of resolvers and devices hold records longer than asked, which is why some traffic can reach the old server for a day or more. Lower the TTL early to keep that tail short.

My new host offers free migration. Do I still need to plan this?

Yes. A host’s migration team usually copies files and the database, and some test the result. Most do not manage your DNS zone, email records, form freeze, subscription renewals or rollback, because those sit outside their systems. Ask exactly which steps they cover, and who changes DNS. Then plan the rest yourself, or hand it to whoever manages your site.

Does changing hosts change my site’s IP address, and does that matter?

Yes, almost always. The new server has its own IP address, which is what the A record change points to. It matters in three places: your SPF record if the site sends mail from the server, any outside service that only accepts connections from an approved IP, such as a payment or CRM integration, and firewall allowlists. Update each one before cutover.

What changes if Cloudflare sits in front of my site?

The switch gets easier. With proxied records, visitors connect to Cloudflare, not to your server, so you only change the origin IP in the Cloudflare dashboard and it takes effect almost at once. Cloudflare’s certificate keeps serving visitors during the move. Check the SSL mode, though: a strict mode needs a valid certificate on the new origin before you switch.

Switch hosts without losing a lead

Every WPmodo migration package keeps your old site live until you approve the new one and includes a zero-downtime switch, from $249 for up to 10 pages in 5 business days.

See the migration packages

Work with us

Ready for a website that works as hard as you do?

Fixed-price WordPress packages, launch-ready in 7 to 21 days.

Fixed price, agreed upfront

No hourly billing or surprise invoices.

50% to start, 50% on approval

Or pay in full, if you prefer.

First-design guarantee

You approve the homepage design first, backed by a full refund of your first payment.