How to Move Your Website to a New Host Without Downtime
A step-by-step plan for moving a website and email to a new web host without downtime: inventory, DNS TTL, testing before the switch, and cutover.
By Todd Twining

Most people put off moving their website to a better host for one reason: they’re afraid it will break. The site goes dark, the email stops, the online store stops taking orders, and nobody can say when it will come back.
It doesn’t have to go that way. A host move with zero downtime is normal when it’s planned. The trick is that you never “move” anything. You build a full copy on the new server, test it while the old one keeps running, and then point visitors to the new one. Until that last step, your customers never know anything is happening.
Here is the order I do it in.
Step 1: Make a list of everything the old host is doing for you
This is where most migrations go wrong. People think of the website as “the files,” and forget everything else the old host quietly handles. Before you touch anything, write down:
- Site files. Everything in the web folder, including uploads and images.
- The database. WordPress, WooCommerce and most store or CMS sites keep their content, orders and settings in a database, not in the files.
- Email. If your mailboxes live at the old host, they have to move too. More on that below, because this is the part that bites.
- DNS records. Your A record, CNAMEs, MX records for email, and TXT records (SPF, DKIM, DMARC, Google or Microsoft verification). Copy every one of them, even the ones you don’t recognize.
- SSL certificate. The new server needs its own certificate for your domain.
- Scheduled tasks (cron jobs). Backups, store tasks, newsletter sends, anything that runs on a timer.
- Forms and outgoing mail. Contact forms and order emails have to send from the new server, and that often needs its own settings.
- Redirects and server rules. Old redirects, password-protected folders, anything in an
.htaccessfile or server config.
This means if the old host was doing it, you need a plan for who does it after the move. If it’s not on the list, it’s the thing that breaks a week later.
Step 2: Lower your DNS TTL a day or two ahead
When you switch hosts, you change your domain’s DNS so it points at the new server. Every DNS record has a TTL (“time to live”), which tells the rest of the internet how long to remember the old answer before checking again. Many are set to several hours or a full day.
A day or two before the move, lower the TTL on the records you’ll change (usually the A record, and MX if email is moving) to something short, like 5 minutes. This means when you do flip the switch, most visitors get the new address within minutes instead of hours.
Step 3: Build and test the copy on the new server
Copy the files and the database to the new host and set the site up there, while the old site stays live. Then test it before a single visitor sees it. There are two common ways:
- A temporary URL that the new host gives you.
- Your computer’s hosts file. You tell your own computer to load your real domain from the new server’s IP address, while everyone else still sees the old one. This is the better test, because you’re looking at the site on its real address.
Click through the whole site. Log in to the admin. Submit the contact form. If it’s a store, run a test order. Check that images load and links don’t point back at the old server. Fix anything now, while it costs you nothing.
Keep the URLs exactly the same. A host move should be invisible to Google. If any page addresses do have to change, set up 301 redirects from the old addresses to the new ones so you keep your rankings. If you’re fuzzy on how domains, DNS and hosting fit together, read what web hosting is and how to choose it.
Step 4: Plan the email move (this is the part that bites)
A website that’s down for an hour is annoying. Email that disappears is a disaster, and it’s the most common way a host move goes wrong.
If your email lives at the old host, you have two jobs:
- Create the same mailboxes on the new email service, with the same addresses.
- Copy the old mail over so nobody loses their inbox history. This is done mailbox by mailbox.
Then, when you change the MX records to point at the new mail server, new mail starts arriving there. During the changeover some mail can still land at the old host, which is why you leave the old mailboxes alone for a few days and do a final copy at the end.
Also update the SPF and DKIM records so the new server is allowed to send for your domain. Skip that and your emails start landing in spam.
Step 5: Switch the DNS
Once the new copy tests clean, do a final sync of anything that changed since you copied it (new orders, new form entries, new blog posts). For a busy store, that can mean pausing orders for a few minutes during the last copy.
Then change the DNS records to point at the new server. With the TTL already lowered, most people see the new site within minutes. Some internet providers hold old DNS answers longer, so a few visitors may see the old site for a while. That’s fine, because the old site is still running.
If the site still looks like the old version on your own computer, your computer may be remembering the old address. Here’s how to clear your DNS cache.
Step 6: Keep the old host running for a few days
Do not cancel the old hosting the same day. Leave it running for at least a few days, until you’re sure DNS has caught up everywhere and no mail is still arriving there.
This means anyone still being sent to the old server gets a working site instead of an error, and you have a full backup sitting right there if something comes up.
Step 7: Check everything on the new host
After the switch:
- Confirm the SSL certificate is working (the padlock shows, and
http://redirects tohttps://). - Submit every form and make sure the emails arrive.
- Run a real or test order through the checkout, and confirm the order email goes out.
- Send and receive email from each mailbox, including from a phone.
- Check that backups and scheduled tasks are running on the new server.
- Look at Google Search Console over the next week for crawl errors.
When all of that checks out and a few days have passed, then cancel the old host.
Or let me do it
I move sites to my own hosting all the time, including email and DNS, and I plan the cutover so the site stays up the whole time. You don’t need to learn what a TTL is or edit a hosts file. You call or text me directly, not a ticket queue.
My hosting packages are:
- Optimized Performance Hosting, $22/month: fully managed, single site.
- TOD VPS, from $36/month: full SSH access for developers.
- EVPS, $49/month billed yearly: a hardened single-site VPS built for online stores.
Frequently Asked Questions
Will my website go down when I change hosts?
It shouldn’t. When the new copy is built and tested before DNS is switched, and the old host stays running during the changeover, visitors always reach a working site. That’s how we handle every move to our hosting packages.
Will I lose my email when I move hosts?
Not if the mailboxes are created on the new server and the old mail is copied over before the MX records change. Email is the part most often missed, so plan it first. See how domains, email and hosting fit together.
Will changing hosts hurt my Google rankings?
No, as long as your page addresses stay the same and the site stays up. If any URLs change, 301 redirects pass the old pages’ rankings to the new ones. More answers on our FAQ page.
How long does DNS take to update?
With the TTL lowered ahead of time, most visitors see the new server within minutes. Some providers hold old answers longer, up to a day or two, which is why the old host stays running. If your own computer still shows the old site, clear your DNS cache.
Thinking about moving your site but don’t want to risk it? Get in touch and I’ll tell you what your move involves and what it costs.
More answers about our web design, SEO, hosting, and app development services are on our FAQ page.
