Websites

Moving hosting without downtime: switching website, domain and email safely

A hosting move rarely fails because of the website, but because of email, DNS records and deadlines. With the right order, the old and new environment run in parallel for a while and nobody notices anything.

Airnite Editorial Team1 December 2026 · 3 min
Published
Reading time
3 min
Author
Airnite Editorial Team

In short

  • First set up and test the new environment completely, then switch the DNS records, and only then cancel the old contract.
  • Lower the DNS lifetime (TTL) beforehand so that the change reaches everyone quickly.
  • Email is the trickiest part: mailboxes, forwarding, SPF and DKIM belong on the checklist.

What it is about

Many companies stay with an expensive or unsuitable hosting provider because they fear the move. The concern is understandable: if emails get lost or the website is offline for a day, it costs customers and nerves. Yet a hosting move can be planned if the steps run in the right order.

This article describes the process for a typical company website with a domain and mailboxes. Why a switch often pays off is covered in our article on hosting prices; which hosting type fits is covered in the article on web hosting, VPS and cloud.

How it works

A move consists of three parts: the website, the emails and the domain with its DNS records. The DNS records determine where visitors and emails are directed. Each record has a lifetime, the TTL, which determines how long other servers cache the answer. If you lower the TTL to a few minutes a few days before the move, the change will reach everyone quickly afterwards.

The safe process is always the same: first the new environment is set up completely and checked via a test address while the old one keeps running. Then the DNS records are switched. For a while some visitors still reach the old server and others already the new one, so both have to work. Only when everything has been checked is the old contract cancelled. For a move without URL changes, Google recommends exactly this order and advises against switching off the old environment straight away.

Where it goes wrong

The most common mistake concerns email. Mailboxes are created again, but the old messages are not transferred, or the SPF record still only allows the old server, so that outgoing mail ends up in spam. DKIM keys and forwarding rules are also often forgotten.

Second, the old contract is cancelled too early, or the notice period is missed and two contracts run longer than necessary. Third, records get lost in the move that nobody remembers any more: a subdomain for a customer portal, a verification record for an online service. And fourth, when a move comes with a new structure, URLs often change without redirects being set up.

How to proceed

First take stock: all domains, all DNS records, all mailboxes, forwarding rules and access credentials. Check the term and notice period of the old contract. Set up the new environment completely and test the website, forms and certificate via a test address. Lower the TTL two days before the move. Switch the DNS records, transfer the mailboxes and adjust SPF and DKIM to the new server. Check the website, forms and email delivery for a few days, and only then cancel the old contract.

Read more: Understanding hosting prices: intro, renewal, increase, Web hosting, VPS, cloud or managed server: what fits your company?, Securing domain and DNS: DNSSEC, CAA and dangling records and Website relaunch without losing rankings: planning redirects properly.

How Airnite helps

We plan and support hosting moves with inventory, test environment, DNS switch and email transfer, so that your website and mailboxes keep running without downtime. As a destination for company websites we recommend Hostinger with servers in Frankfurt (referral link*), where we also run our own websites. If another provider suits you better, we move you there just as carefully.

Our hosting recommendation

For the websites we build and maintain, we rely on Hostinger with servers in Frankfurt am Main. We are happy to set up the plan for you or to support the migration from your current provider.

* Advertising: if you book via this referral link, Airnite GmbH receives a commission. Our recommendation is independent of this.

Checklist

Sources

Every fact in this article is based on the following publications. Primary sources are marked.

  1. IETFRFC 1035: Domain Names – Implementation and SpecificationStandardPrimary source
  2. IETFRFC 7208: Sender Policy Framework (SPF)StandardPrimary source
  3. Google Search CentralMoving a site with no URL changesVendorPrimary source

* Advertising: if you book via this referral link, Airnite GmbH receives a commission. Our recommendation is independent of this.

Matching services

Read on

Current incidents and warnings are covered in the Zero Day magazine. Go to the magazine

Want to put this into practice in your company?

We assess your situation and tell you clearly what to do. For businesses, in confidence.

Send an enquiryTalk to an expert now