Switching hosts sounds scary because everyone has heard a story about a site that went down for a day mid-move. It does not have to happen. With the right order of operations you can migrate with zero visible downtime. Here is the method professionals use.
Why downtime usually happens
The classic mistake is changing DNS first. The moment you point your domain at the new server before the site is ready there, visitors hit a blank or broken page. The fix is simple: set everything up on the new host first, verify it, then switch DNS last.
The zero-downtime order of operations
1. Set up the site on the new server, but do not touch DNS yet. Copy your files and database across. Your live site keeps running on the old host the whole time.
2. Test the new copy on its IP or a temporary address. Most hosts let you preview a site before DNS points to it. Confirm pages load, forms work, and the database connected correctly.
3. Lower your DNS TTL a day ahead. Drop the TTL on your records, for example to 300 seconds, the day before the switch. This makes the final change propagate fast instead of taking up to 48 hours.
4. Do a final sync just before switching. Copy anything that changed since your first copy, such as new orders or comments, so nothing is lost.
5. Switch DNS to the new server. Update the A record or nameservers. Because both servers now hold the same site, visitors land on a working page no matter which one they reach during propagation. See How to point your domain to Vastrox.
6. Keep the old host running for a few days. Until propagation finishes worldwide, some visitors still reach the old server. Leave it up and in sync, then shut it down once traffic has fully moved.
What to test after the switch
- Every key page loads over https with a valid certificate. See How to get a free SSL certificate.
- Forms, logins and checkout work end to end.
- Email still sends and receives if it lives on the same domain.
- Search the site for hard-coded old URLs or IP addresses.
The risky part of any migration is the database and the final sync. If your site takes orders or comments, plan the switch for a quiet hour and run the final sync right before you flip DNS.
Let someone else do it
Migrations are fiddly, and one missed step can cost you data. Many hosts will move your site for you. Vastrox migrations are free, handled by engineers, and done with zero downtime using exactly this method. Start a migration and we will take it from here.
FAQ
Will my site go down during migration?
Not if you switch DNS last. Set up and verify the new server first, so both hosts serve the site during propagation.
How long does DNS take to switch over?
Usually 30 minutes to a few hours, and up to 48 hours worldwide. Lowering your TTL a day ahead makes it much faster.
Will I lose emails or orders during the move?
Not with a final sync just before the DNS switch, and by keeping the old host running until propagation finishes.
Want it done for you, free? Start your migration and our team handles the move with zero downtime.