The short answer
To move a website to a new host without downtime, build the site on the new server first and test it before changing anything. Lower your DNS TTL a day or two ahead, copy every DNS record including email, then switch the domain over and keep the old host running for a week as a safety net.
Key takeaways
- Nothing goes down if the new site is finished and tested before the domain is switched.
- Lowering your TTL 24 to 48 hours ahead turns a two-day cutover into a five-minute one.
- Copy every DNS record before you touch nameservers. Email is what breaks, not the website.
- Expect an SSL gap of a few minutes, because most certificates cannot be issued until DNS already points at the new server.
- Keep the old host paid and running for at least a week after the switch.
The question behind how to move website to new host is usually not technical, it's nervous: will my site go dark while this happens? It doesn't have to. Done in the right order, how to switch web hosting without downtime comes down to one principle. You build and finish the site on the new server first, while the old one keeps serving customers, and the domain only moves at the very end when the new home is already working.
The downtime people experience comes from doing it backwards: cancelling the old host, or pointing the domain at an empty server and then starting the upload. This is the order we use on client migrations, and it's the same for leaving a host that got expensive or one that got worrying.
How to switch web hosting without downtime: the DNS-first method
Here's the whole plan on one page. Each step is expanded below.
| When | What you do | Why |
|---|---|---|
| A week ahead | Buy the new hosting. Take a full backup of the old site. Write down every DNS record. | Nothing is live yet, so mistakes here are free. |
| Two to three days ahead | Upload the site to the new host and get it working on a temporary address. | The old site is still serving visitors the whole time. |
| 24 to 48 hours ahead | Lower the TTL on your DNS records to five minutes. | This is what shrinks the cutover from up to two days down to minutes. |
| Cutover day, morning | Test the new site properly on the temporary address or through your hosts file. | Every problem you find now is a problem you don't find live. |
| Cutover, ideally a quiet hour | Point the domain at the new server. Confirm the MX records survived. | With a low TTL most visitors follow within minutes. |
| The following week | Keep the old host paid and running. Raise the TTL back up once you're happy. | It's your rollback, and stray traffic still arrives there for days. |
Copy everything before you cancel anything
First rule of any host move: you never cancel the old account until the new one has been live and stable for a while. Second rule: get a complete copy in your own hands, not just in the new host's migration tool. That means the files, the database, and a written record of your DNS. Our step-by-step on getting your website files from your hosting company covers the cPanel and SFTP routes.
Worth knowing: most decent hosts will do the migration for you free as part of signing up. Ask before you start. Their team does this daily, they have tooling you don't, and it costs nothing. You still take your own backup first, because their tool failing halfway is your problem, not theirs.
Test on a temporary address before the domain moves
This is the step that makes the whole thing safe, and it's the one people skip. There are two ways to look at the new site while your real domain still points at the old one.
- A temporary URL from the new host. Most hosts give you a preview address or a staging subdomain, and this is the one to use if you've never done anything like this before. It's easy, but it isn't a perfect test: on WordPress in particular, a site running under a different address can behave differently from one running under its real name.
- Your computer's hosts file, if you're comfortable with it. This is the more accurate test, but it means editing a system file, so it's worth having a developer do it if the wording below means nothing to you. You add one line locally that says "for me, this domain lives at this new IP address," and your browser then loads the new server using the real domain name while the rest of the world still sees the old site. On Windows the file is in C:\Windows\System32\drivers\etc, and on a Mac you edit /private/etc/hosts from the Terminal. Kinsta publishes a clear walkthrough for both.
Whichever you use, actually test. Click through every page, submit the contact form and confirm the email arrives, log in to the admin, check the site on a phone, and try the checkout if you sell anything. Ten minutes here saves a day of firefighting.
Lower the TTL, and understand what it buys you
TTL stands for time to live, and it's the number that decides how long the rest of the internet is allowed to remember your old settings. Change your DNS with a high TTL and computers around the world keep sending visitors to the dead server until their cached copy expires.
The numbers matter here. AWS notes that a typical TTL on the nameserver record is 172,800 seconds, which is two days, and warns that without lowering it your domain could be unavailable for up to two days if something goes wrong mid-migration. Cloudflare's own DNS migration guidance is to lower the TTLs on all critical records at least 24 to 48 hours before the migration window, and says a common short TTL for a migration is 300 seconds, or five minutes.
Copy every DNS record, because email is what actually breaks
Here's the mistake that turns a smooth migration into a bad week. Switching nameservers hands control of your entire DNS zone to the new host, and the new host has no idea what your old records were. GoDaddy states it plainly in their own instructions: changing your nameservers may break existing connections to your website or email. Cloudflare warns that an automatic scan of your existing records is not guaranteed to find all of them, and tells you to pay special attention to your mail records before you activate.
So before you change anything, take a screenshot or export of the current DNS zone and account for every line of it.
- 1MX records. These route your email. If they're missing on the new side, mail bounces from the moment the nameservers change.
- 2TXT records. SPF, DKIM and DMARC live here, plus verification records for Google, Microsoft and various tools. Drop these and your mail still flows but starts landing in spam.
- 3CNAME records. Things like a webmail subdomain, a booking system, a help desk, an email marketing tracking domain.
- 4A records for subdomains. A staging site, a client portal, an old app that only one department uses and only notices on the third day.
- 5Anything you don't recognise. Do not delete it because you don't know what it does. Copy it across and investigate later.
If the safer path appeals, you can leave DNS where it is and just change the A record to the new server's IP address instead of switching nameservers. That moves only the website and leaves email untouched. We wrote a whole guide on switching hosting without losing email because it's the part that costs businesses real money.
WordPress specifics: which migration plugin
If you're on WordPress you have good options, and all of these are real plugins currently listed on WordPress.org with large install bases. The differences that matter are size limits and whether migration is in the free version.
| Plugin | Install base | Worth knowing |
|---|---|---|
| All-in-One WP Migration and Backup | 5 million plus | The simplest for a small site. The much-repeated free upload cap is a misunderstanding: the developer states the free plugin imports files of any size your server allows, and the limit you see comes from your host's PHP settings. |
| UpdraftPlus | 3 million plus | Excellent free backups, and the free version can migrate too, you just download the backup and upload it to the new site by hand. The paid Premium version does that transfer directly, without the manual step. |
| Duplicator | 1 million plus | Packages the site into an installer plus an archive. Scheduled backups, staging and cloud storage are in the paid version. |
| WPvivid | 900,000 plus | The migration feature is free, which makes it a good pick if you only need to do this once. |
| Migrate Guru | 200,000 plus | Free, and built for big sites. Its plugin page advertises migrating sites up to 200 GB by doing the work off your server. |
After the move, go to Settings then Permalinks in your WordPress admin and just click Save, which resets the site's internal links for the new address. Check that images are loading from the new address rather than the old one. If something still looks odd, the migration plugins above have a built-in search-and-replace for leftover old server paths, or a developer can run one in a few minutes. Most WordPress migration weirdness is an address that got left behind somewhere.
What breaks most often
- Contact forms. The new server's mail configuration is different, so forms submit successfully and quietly deliver nothing. Always test a real submission after the switch, and consider sending form mail through a proper SMTP service rather than the server.
- SSL, for a few minutes. Free certificates from Let's Encrypt are usually issued by proving control over the domain through a file served at that address, which cannot work until the domain already points at the new server. In practice, expect a short certificate warning right after cutover. If that's not acceptable, ask the new host's support to issue the certificate through a DNS-based check instead, which can be set up before the switch. That part is worth leaving to them.
- Email. Covered above, and worth checking twice.
- Anything hardcoded. Scripts, integrations or apps that referenced the old server's IP address rather than your domain name will stop.
- Cron jobs and scheduled tasks. Backups, imports and report emails set up on the old server do not travel with the files.
- Redirects and rewrite rules. These live in server config files that a migration tool may or may not carry over. Spot-check a few old URLs.
Keep the old host running for a week
Resist the urge to cancel the moment the new site loads. Two reasons. First, DNS is not instant for everyone: GoDaddy's guidance is that most changes take effect within a few hours but can take up to 48 to update globally, and some internet providers refresh their cached records only every two or three days regardless of your TTL. Second, the old host is your rollback. If something serious surfaces on day two, pointing the domain back is a five-minute fix while the old server is still there, and an impossible one after you've cancelled.
A week is a sensible minimum. A month costs one more billing cycle and buys a lot of calm. Once you're sure, download one final backup from the old host, then cancel.
If you'd rather hand the move to someone
A small brochure site is a genuinely doable afternoon if you're comfortable with a control panel, and the new host's free migration service will often do most of it. Where we'd steer you away from DIY is a site with a store, a booking system, business email on the same account, or anything where an hour offline costs real money. If that's you, managed hosting is part of our care plans from $99 a month and includes moving your existing site over from whatever host it's on now, with the DNS and email handled as part of the job. The maintenance plan is what keeps it looked after afterwards.
If the reason you're moving is that the current host has gone quiet or is winding down, read what happens if your web host goes out of business first, and the warning signs worth watching for if you're still deciding.
Related services
More website answers
Every question in this series, from Website Problems, Solved.
Symptoms & emergencies22
- What Size Should Images Be for a Website? A Plain Guide With Numbers
- Why Is My Logo Blurry on My Website? How to Fix It for Good
- Images Not Loading on My Website? Nine Causes, Checked in Order
- Why Is My Website Down? How to Find Out and Fix It
- Why Does My Website Say "Account Suspended"?
- Error Establishing a Database Connection: What It Means
- Why Is My Contact Form Not Sending Emails?
- White Screen of Death on WordPress: What to Do Now
- Why Is My Website Showing "Not Secure" in Chrome?
- Squarespace Site Not Showing Up on Google? Here's Why
- Why Did Google Remove My Website From Search Results?
- Why Did My Website Traffic Suddenly Drop? Top Causes
- Why Is My Website Sending Spam Emails? What It Means
- Why Is My Website Slow on Mobile but Fast on Desktop?
- Why Does My Website Look Broken on My Phone?
- Why Do My Website Images Look Blurry or Broken?
- How to Tell If Your Website Has Been Hacked: 9 Signs
- "This Site May Be Hacked": How to Remove Google's Warning
- "Deceptive Site Ahead" Warning: How to Fix It Fast
- How to Make Your Website Load Faster
- Why Is My Website Not Showing Up on Google?
- 10 Signs Your Business Website Needs a Redesign
What happens if...15
- Hosting Company Shut Down? What to Do About Your Website in the Next 24 Hours
- How to Get Your Website Files From Your Hosting Company
- Hosting Expired and the Website Is Down: What Is Still Recoverable
- How to Recover a Deleted Website (Backups, the Host, and the Wayback Machine)
- How to Move a Website to a New Host Without Downtime (you are here)
- Is My Web Host Going Out of Business? The Signs, and What to Do Before It Does
- What Happens If You Don't Update WordPress Plugins?
- What Happens If Your SSL Certificate Expires?
- What Happens If Your Domain Name Expires? A Timeline
- What Happens If Your Web Host Goes Out of Business?
- What Happens If You Stop Paying Your Web Developer?
- Can an Old Website Hurt Your Google Ranking?
- Is an Outdated Website a Liability for Your Business?
- Why Are My Business Emails Going to Spam?
- What Happens If You Don't Maintain Your Website?
Cost & pricing9
- Web Developer Hourly Rate: What Small Businesses Actually Pay in 2026
- How Much Does It Cost to Update a Website? Real Ranges by Job
- How Much Does It Cost to Fix a Hacked WordPress Site?
- Why Is Website Maintenance So Expensive? A Breakdown
- Hourly Rate vs. Monthly Retainer for Website Updates
- How Much Do Freelancers Charge for Website Maintenance?
- How Much Does WordPress Maintenance Cost Per Month?
- How Much Does Squarespace Maintenance Cost?
- How Much Does Website Maintenance Cost?
Plans & hiring11
- Website Management for Dentists: What It Covers, What It Costs
- Do I Need a Website Maintenance Plan? An Honest Answer
- Maintenance Plan vs. Pay As You Go: Which Actually Wins
- One-Time Website Fix vs. Ongoing Care: Which Do You Need
- Does a Simple Website Need a Maintenance Plan?
- 12 Questions to Ask a Website Maintenance Company
- Freelancer vs. Agency for Website Maintenance
- What to Look For in a Website Maintenance Contract
- Is Your Website Maintenance Plan a Scam? How to Tell
- Website Maintenance Checklist for Non-Technical Owners
- What Does Website Maintenance Include? (And Why It Matters)
Ownership & switching15
- How to Find Out Who Built Your Website (and Who Still Has the Keys)
- How to Find Out Who Owns a Domain Name (Including Your Own)
- Locked Out of Your Own Website? How to Get Access Back
- How to Transfer a Website to a New Developer Without Losing Anything
- The Website Ownership Checklist: What a Small Business Should Actually Hold
- What Is My Website Built With? How to Check in Seconds
- How to Find Out Who Hosts and Manages Your Website
- Your Web Developer Disappeared: What to Do Now
- How to Switch Web Hosting Without Losing Your Email
- Who Is My Email Provider? How to Find Out in Two Minutes
- How to Fire Your Web Developer (Without Losing Your Site)
- Can You Maintain Your Own Website Without Coding?
- How Often Should You Update Your Website Content?
- How to Back Up a WordPress Site Yourself (Two Ways)
- Do You Really Own Your Website? How to Check Before You Hire
Platform-specific7
- Do Squarespace Sites Need Maintenance? The Honest Answer
- Do Wix Websites Need Maintenance? What Owners Should Know
- Shopify Maintenance: What Store Owners Actually Need
- WordPress Maintenance Checklist for Non-Developers
- WordPress vs. Squarespace: Which Is Easier to Maintain?
- GoDaddy Website Builder vs. WordPress for Small Business
- How to Keep Your WordPress Website Secure
The Venbit Team
Web design & SEO, Seattle
Venbit is a Seattle-area web design, SEO, and digital marketing studio. Since 2011 we've designed, built, and ranked small-business websites for clients across the Puget Sound and around the country, so the numbers and advice here come from real projects, not a content mill.
Sources
- Cloudflare: DNS best practices, preparation phase (lower TTLs 24 to 48 hours ahead)
- Cloudflare: Time to Live (TTL) reference
- Cloudflare: Set up a primary zone, full setup
- AWS Route 53: Making Route 53 the DNS service for a domain that's in use
- GoDaddy: What factors affect DNS propagation time?
- GoDaddy: Change my domain nameservers
- Kinsta: How to edit your hosts file to preview a site before updating DNS
- Let's Encrypt: Challenge Types (HTTP-01 and DNS-01)
- WordPress.org: All-in-One WP Migration and Backup
- ServMask: Why All-in-One WP Migration shows an upload limit
- WordPress.org: UpdraftPlus backup and migration plugin
- WordPress.org: Duplicator backups and migration
- WordPress.org: WPvivid backup, migration and staging
- WordPress.org: Migrate Guru site migration and cloning