Maintenance

Moving Hosting and DNS Without Downtime: The Order That Works

When a host move goes wrong, it is rarely the copying of files. It is DNS: a forgotten record, a certificate that could not be issued, a dropped mail record or a cached address. Here is the order we follow, from record inventory and TTLs to cut-over and rollback.

Dental treatment chair and equipment in a bright clinic room

A host move should be invisible. Visitors keep arriving, orders keep coming in, email keeps flowing, and the next week the site is simply faster or cheaper to run. When moves go wrong it is rarely the copying of files that fails. It is DNS: a record nobody knew about, a certificate that could not be issued, a mail record lost when the nameservers changed, or a cached address that sends some visitors to a server that has just been switched off.

Our hosting, server and DNS management team follows the order below whether the job is one brochure site or a group of domains. A platform change, such as a website builder to WordPress, adds content and redirect work on top, which our migration service covers; the DNS part is the same.

First, Know Which Move You Are Making

"Moving hosting" can mean three different things, with very different risks:

  • New web server, same DNS provider. You change the website's address records and nothing else. The lowest-risk version.
  • New DNS provider. You change the nameservers at the registrar, so every record for the domain, including email, must exist at the new provider before the switch.
  • Both at once. Common when leaving an all-in-one host. We usually split it into two moves a few days apart, so if something breaks you know which change caused it.

Step 1: Inventory Every Record

Export the full zone from the current DNS provider, not just the records on the main screen, and write down what each one is for. A typical business domain has more than people expect:

  • A and AAAA records for the website, and CNAMEs for www and other subdomains.
  • MX records for email, plus SPF, DKIM and DMARC TXT records.
  • Verification TXT records for Google, Microsoft, payment providers and other tools.
  • CNAMEs for a help centre, a booking system, a shop subdomain or an email sending service.
  • SRV records for phone systems or Microsoft 365, and CAA records restricting who may issue certificates.

Anything you cannot identify, keep. A record that looks redundant is often the one holding up an integration nobody has touched in years. If the old host's control panel created records automatically, such as mail or webmail subdomains, they must be recreated by hand at a new provider.

Step 2: Lower the TTLs Before You Need To

Every DNS record has a time to live: how long resolvers may cache it. If the website's A record has a TTL of 24 hours, some visitors keep going to the old server for up to a day after you change it. Lowering the TTL to five minutes or so shortens that tail, but only once the old value has expired everywhere, so the change has to be made at least one full old TTL before the move: a day or two ahead for most domains.

Nameserver changes are slower and less controllable. The delegation at the registry often carries a long TTL you cannot lower, so for a DNS provider move, plan for both providers answering correctly, with identical records, for a couple of days.

Step 3: Build and Test the New Server Privately

The new server gets the site, database and configuration while the old one keeps serving the public. We test it by pointing our own machines at the new address with a hosts file entry, so we see the real domain on the new server before anyone else does. Check forms, logins, payments in test mode, scheduled tasks, file uploads and anything that calls another service, because the outbound IP address changes with the host and some APIs only accept known addresses.

Step 4: Sort Out SSL Before the Switch

A certificate problem at cut-over looks like an outage: a full-page browser warning. The common trap is that free certificates are often issued by proving control of the website, which only works once DNS points at the new server. The options are to issue the certificate by DNS validation in advance, to copy the existing certificate across temporarily, or to issue it in the minutes after the switch while TTLs are short. Check that CAA records allow the certificate authority you are using, and confirm that automatic renewal works on the new server, not just the first issue.

Step 5: Protect Email Throughout

Email is the most expensive thing to break, because failures are silent. If you are only changing web servers, do not touch the MX records. If you are changing DNS providers, recreate MX, SPF, DKIM and DMARC exactly and compare them with the old provider using a lookup tool before changing nameservers. If the old host also provided mailboxes, that is a separate migration with its own plan, and not one for the same evening as the website.

The website's own mail can change too. If the site sent mail from the old server, the new server's address will not be in your SPF record. Our article on website emails landing in spam explains why routing site mail through an authenticated sending service avoids this, and our email deliverability team can set it up as part of the move.

Step 6: Cut Over in the Right Order

  1. Pick a quiet hour, and tell whoever handles orders and enquiries.
  2. For sites that take orders, bookings or comments, freeze changes on the old site, or put it into a short maintenance mode, so nothing is written there after the final copy.
  3. Run a final sync of the database and uploaded files to the new server.
  4. Change the A, AAAA or CNAME records, or the nameservers.
  5. Test from several networks, including a phone off Wi-Fi, and watch the new server's logs.
  6. Keep the old server running and watch its logs too. Traffic still arriving there shows how many visitors have the old address cached.

Step 7: Keep a Rollback Ready

Write down the old value of every record before changing it. With short TTLs, pointing back to the old server takes minutes, which is why the old server must stay untouched and running for at least a week. Rolling back after orders have been placed on the new server means copying those orders back, so decide in advance what would trigger a rollback and who makes the call. Once everything is stable, raise the TTLs again, confirm backups and monitoring run on the new server, and only then cancel the old hosting.

The Same Principle at Larger Scale

When a dental group consolidated nine practice websites from Wix and Squarespace into one WordPress site, the domains were switched only after every old URL had been crawled and 412 redirects had been tested. Nine platform subscriptions became one hosting arrangement, and Search Console was monitored after the switch to confirm the old addresses led to their new pages. The principle is the same as for a single site: test everything on the new home first, and make the switch itself the smallest possible step.

For moves into AWS, Azure or Google Cloud, our cloud migration checklist covers the infrastructure side. For anything else, tell us where the site is now and where it is going, and we will send back a cut-over plan with the record list and rollback steps before anything changes.

Frequently Asked Questions

How long does DNS propagation really take?

It depends on the TTL of the records being changed. If the old TTL was 24 hours, some resolvers can keep the old answer for up to a day; if it was lowered to five minutes well in advance, almost everyone sees the change within minutes. Nameserver changes are slower because the registry’s own records carry long TTLs you cannot control.

Will moving my website to a new host affect my email?

Not if only the website records change. Email is controlled by MX and related TXT records, which can stay exactly as they are. The risk comes when the DNS provider changes too, or when the old host also provided your mailboxes. In those cases email needs its own checks, and often its own migration date.

Should I transfer my domain registration at the same time as my hosting?

We advise against it. A registrar transfer can lock some changes for a period and adds another moving part on the day. Move the hosting first, let it settle, then transfer the registration separately if you want everything with one provider. Registration, DNS and hosting do not have to live in the same place.

What is DNSSEC and does it matter during a move?

DNSSEC signs your DNS records so resolvers can verify they have not been tampered with. During a DNS provider move it matters a great deal: if the registrar still publishes keys from the old provider when the new one starts answering, validating resolvers will treat your domain as broken. Plan the key change, or disable DNSSEC in good time before switching and re-enable it afterwards.

Can a website that takes online orders really move with zero downtime?

Visitors can be spared any visible outage, but orders need care. Most moves use a short write freeze of a few minutes during the final database copy, so no order lands on the old server after it. For high-volume stores the gap can be shortened further with database replication, at extra cost and complexity.

How We Can Help

Services Related to This Article

The work we do with the technologies discussed above — with pricing, process and real examples on each page.

  • Hosting, Server & DNS Management

    Nginx, Apache, Docker and cloud servers configured, secured and kept running — plus DNS, SSL and Cloudflare set up correctly the first time.

  • Website Migration & Replatforming

    Moving between hosts, platforms or domains — Wix to WordPress, Magento to Shopify, old site to new — with every URL redirected and nothing lost.

  • Email Deliverability & Transactional Email

    Order confirmations, form notifications and password resets that actually arrive — SPF, DKIM and DMARC done right, and SMTP that works.

  • Security Audit & Penetration Testing

    A structured security review of your website, application and servers — vulnerabilities found and fixed before someone else finds them.

In Practice

Case Studies on This Topic

Projects where we put these ideas to work, each with a live demo.

  • Student School — Learnwell
    • Docker
    • GitHub Actions
    • Nginx

    Cloud & DevOps

    Learning Platform Cloud Migration

    A containerised rebuild of a fragile single-server deployment: 4-minute releases and 58% lower hosting cost.

  • Tools Workshop — Quotely
    • Ruby on Rails
    • Hotwire (Turbo & Stimulus)
    • PostgreSQL

    SaaS Product Development

    Field-Service Quoting SaaS

    A Rails MVP taken from idea to paying subscribers in ten weeks, with Stripe billing and Hotwire interactivity.

  • Construction Tools — Fenwick Trade Supplies
    • CodeIgniter 2 → 3
    • PHP 8.3
    • Laravel 11

    Legacy PHP Modernisation

    Trade Supplier Order Desk: CodeIgniter Upgrade & Laravel Migration

    A ten-year-old CodeIgniter order desk brought onto PHP 8, made fast again, and moved to Laravel one module at a time without a day of downtime.

Keep Reading

  • Workshop wall with hand tools hung in neat rows above a workbench

    Upgrading an Old Ruby on Rails Application Safely, One Version at a Time

    An old Rails application is usually a sign of success, until the host drops its Ruby version or a gem stops getting security fixes. Here is the staged approach we use: inventory first, tests before upgrades, one minor version at a time, and a plan for the usual sticking points.

  • Pastel ceramic cups, bowls and plates stacked on a shelf

    Moving a Retailer's Server Room to Azure: What Changes on Monday Morning

    For a small or mid-sized retailer, moving from a server room to Azure is less about technology than about what changes for the business afterwards: who looks after backups, how shops and head office reach their systems, what the monthly bill looks like and what still needs a person.

  • Hiker standing on a mountain ridge looking out over a green valley

    Building a Tour Booking Platform: Availability, Group Sizes, Deposits and Supplier Sync

    Tour operators sell dated departures with limited seats, minimum numbers, deposits and balances, and suppliers behind every itinerary. Here is how we model departures, stop double-bookings, take deposits without chasing balances and decide how much supplier integration is worth building.

Let’s Connect

Let’s Build Something Amazing Together

Share your project details and our experts will get back to you within one business day with the best solution — free consultation, no obligation.