Lower the Ttl a Day Before You Move Anything

Changing hosts without downtime by lowering TTL.

I still have a note in my outage journal from 2014 about a client who thought they could just “flip a switch” and move their entire site to a new server. I remember the frantic, 3:00 AM phone call—the sound of someone realizing they’d just deleted their only working copy of a database because they didn’t account for DNS propagation. People treat changing hosts without downtime like it’s some high-level wizardry that requires a massive budget or a specialized migration agency, but that’s mostly just marketing fluff. In reality, most of these “catastrophic” failures happen because someone skipped the boring, fundamental steps that actually keep a site alive during a transition.

I’m not here to sell you on some expensive, automated migration tool that promises the world and delivers a headache. Instead, I’m going to walk you through the unsexy, manual reality of moving your data, testing your backups, and managing your DNS records so your visitors never even know you moved. We’re going to focus on the practical stuff: making sure the files are actually there, verifying the database integrity, and ensuring you have a clear way back if things go sideways.

Avoiding the Chaos of Dns Propagation Delay

Avoiding the Chaos of Dns Propagation Delay.

Here is the part that usually keeps people up at night: the DNS. You can have your new server perfectly configured, but if the world is still looking at your old IP address, you haven’t actually moved anywhere. This is where the dreaded DNS propagation delay kicks in. It’s that window of time where some users see your new site while others are still hitting the old, decommissioned server. If you try to shut down the old host before this period ends, you’re essentially inviting a service outage.

To pull off a zero downtime website migration, you have to stop thinking about the move as a single event and start treating it like a slow transition. My rule of thumb is to lower your TTL (Time to Live) values on your existing records at least 24 hours before you make any big moves. By shrinking that window, you’re telling the internet to check back more frequently for updates. It’s a boring, manual step, but it’s the difference between a smooth handoff and a weekend spent frantically trying to fix broken links.

Mastering Zero Downtime Website Migration Strategies

Mastering Zero Downtime Website Migration Strategies guide.

If you want to achieve a zero downtime website migration, you can’t just copy-paste files and hope for the best. The secret is working in parallel. You need to get your entire site—database, files, and configurations—onto the new server while the old one is still live and taking traffic. I always recommend setting up a staging environment testing phase on the new hardware first. If your site looks broken or the database connections are wonky on the new server, it doesn’t matter how fast your DNS is; you’ll still be staring at a white screen of death once you make the switch.

Once you’ve verified that the new environment is stable, you move into the actual cutover. This is where most people panic, but if you’ve followed proper server transfer best practices, it’s just a matter of synchronization. You do one final sync of the data to catch any new comments or orders that came in during the transfer, then you flip the switch. By the time the rest of the internet realizes you’ve moved, your new server is already up and running smoothly.

The Checklist of Things That Actually Matter

  • Test your backups on a different machine. I’ve seen more migrations fail because of a corrupted zip file than because of DNS issues. If you haven’t tried to restore your site to a local environment, you don’t actually have a backup; you just have a file that might be useless when you need it most.
  • Lower your TTL (Time to Live) well in advance. Don’t wait until the day of the move to touch your DNS settings. Drop your TTL to 300 seconds or even 60 seconds a day or two before you switch. This makes the actual transition much faster because the rest of the internet won’t be clinging to your old IP address for hours.
  • Audit your file sizes and database bloat before you move. There is no point in paying for a high-performance migration if you are moving 10GB of unoptimized junk and old log files. Clean up the mess on the old server first so you aren’t fighting a slow transfer while your clock is ticking.
  • Verify your SSL certificates are ready to go. There is nothing more frustrating than a successful migration followed immediately by a “Your connection is not private” error. Make sure your new host is ready to issue a certificate or that you have your existing ones ready to deploy the second the site goes live.
  • Keep the old host active until you are 100% certain. Do not cancel your old subscription the moment the new site looks okay. Run both in parallel for a few days. Check your error logs, monitor your traffic, and make sure no stray cron jobs or API calls are still trying to talk to the old server.

The Bottom Line

Don’t trust your new host until you’ve actually moved the files and verified the site works on their server. A successful migration isn’t just about moving data; it’s about confirming the data isn’t broken when it arrives.

TTL (Time to Live) is your best friend or your worst enemy. Lower your DNS TTL settings a few days before you move so that when you finally make the switch, the rest of the internet finds your new home almost instantly.

Test your backups on a separate machine before you even think about pulling the plug on your old provider. There is nothing worse than migrating to a new host only to realize your backup was a corrupted mess.

Don't Leave It to Chance

Don't Leave It to Chance: Verify backups.

At the end of the day, a smooth migration comes down to the basics. You can’t skip the step of verifying your backups, and you certainly shouldn’t ignore the reality of DNS propagation. If you’ve lowered your TTLs, tested your files on the new server before pointing the domain, and kept a close eye on your error logs, you’ve already done more than most people I consult for. Most “emergencies” I get paged for during a move aren’t actually technical failures; they are just preventable mistakes caused by rushing the process. Stick to the checklist, verify your data is actually where it should be, and don’t pull the plug until you’ve confirmed the new environment is stable.

Moving hosts can feel like a massive, looming headache, but it shouldn’t be a gamble with your livelihood. Whether you are scaling up because your current plan is choking or you’re just tired of poor support, the goal is the same: stability. A successful migration isn’t just about getting the site to load on a new IP; it’s about building a foundation that doesn’t crumble the moment you look away. Do the boring work now so you aren’t fixing a broken site at 3:00 AM later. Get it right, get it tested, and then get back to running your business.

Frequently Asked Questions

What happens if my site's email stops working during the DNS switch?

This is exactly why I keep that outage notebook. If your email dies, it’s almost certainly because you moved your DNS to the new host but forgot to copy over your MX records. When you point your nameservers to a new provider, they don’t automatically know where your email lives. You have to manually replicate those MX and SPF records at the new destination before you flip the switch, or your inbox goes dark.

How do I actually verify that the files on the new server are identical to the old one before I flip the switch?

Don’t just trust the “Transfer Complete” notification from your host. I’ve seen too many migrations fail because a single critical plugin folder didn’t copy over.

If I realize I made a mistake after pointing the domain to the new host, how fast can I roll back?

If you realize you’ve messed up after updating your DNS, you’re at the mercy of TTL (Time to Live). If you set your TTL low—say, 300 seconds—before the move, you can roll back in minutes. If you left it at the default 86400, you’re looking at up to 24 hours of chaos while the old records slowly die off. Always lower that TTL a day before you touch anything.

About Otieno Mbatha

Most hosting problems are not exotic. They are an expired certificate, a full disk, or a backup nobody tested. I write about the boring things because the boring things are what break.