🚚
Migration

Transferring DNS When Switching Hosting: Full Guide

πŸ“… 15 October 2026 ✏️ 15 October 2026 ⏱ 5 min leestijd

Step-by-step guide to transferring DNS during a hosting switch, without downtime or email issues. Covers A records, TTL, and nameservers.

When switching hosting providers, you need to update your domain’s DNS settings so visitors and email reach the new server. You do this by changing nameservers or adjusting individual DNS records, lowering the TTL beforehand and only switching once everything works on the new environment. This prevents downtime and missed email during the transition.

What is DNS and why does it matter

DNS (Domain Name System) translates your domain name into the IP address of the server where your website and email run. Without correct DNS settings, browsers and mail servers don’t know where to go. When switching hosting, your website’s IP address changes, and often your mail server’s too, which means you need to update the DNS records.

The most important records are the A record (links the domain to an IP address), the MX record (handles email delivery), and CNAME records (for subdomains or aliases). You adjust these via your domain registrar or through your new hosting provider’s DNS management, depending on where the nameservers point.

Domain nameDNS recordsNew serverMail server

Preparation: Lowering the TTL

The TTL (Time To Live) determines how long DNS servers worldwide remember a record before requesting it again. A high TTL, for example several hours, causes changes to propagate slowly. Therefore, lower the TTL of your most important records, such as A and MX, to a short value a few days before the switch. This way, the new setting propagates faster once you actually make the switch.

πŸ’‘ Tip: Set the TTL back to a higher value after a successful transition. This reduces unnecessary DNS requests and is better for loading speed.

Transferring DNS step by step

With a clear sequence, you prevent your website or email from becoming temporarily unreachable. First set everything up with the new provider, test the result, and only then actually switch the DNS.

1

Lower the TTL

Set the TTL of A and MX records low a few days in advance, so changes propagate quickly.

2

Set up the new hosting

Prepare your website and email with the new provider and test them via a temporary test address or hosts file, without changing the live DNS yet.

3

Check that everything works

Open your website at the new IP address and send test emails to verify everything functions correctly before switching over.

4

Update the DNS records

Change the A record to the new IP address and the MX record to the new mail server, or switch the nameservers if your provider offers this option.

5

Monitor the transition period

Keep the old hosting active until the DNS change has propagated worldwide, so visitors who still see the old data don’t get error messages.

6

Restore the TTL

Set the TTL back to a normal value once you’re certain everything is working properly.

At Tandata, you’ll find DNS management clearly laid out in Plesk, where you can add or adjust records yourself without needing support. Also read the explanation about switching to Tandata if you want to prepare the entire migration, including website and email.

Avoiding common mistakes

The most common mistake is stopping the old hosting too soon, causing visitors with an outdated DNS cache to get an error message. Make sure the old environment stays active for at least a few days after the switch.

Another pitfall is forgetting the MX record, causing email to keep arriving at the old server while the website already runs on the new one. Therefore, always separately check whether your business email has been transferred correctly. Also pay attention to any SPF, DKIM, and DMARC records: these belong to the domain and must move along to keep spam filters satisfied.

Finally: if you’re also moving the domain itself to another registrar, that’s a separate process from the DNS change. Check domain names to see how that works, and don’t combine it unnecessarily with the hosting switch to avoid confusion.

Frequently Asked Questions

How long does it take before DNS changes are visible everywhere?

This depends on the TTL value that was active before the change. With a lowered TTL, this can be visible within an hour, but some networks cache records longer.

Can I see my website offline while the DNS hasn’t been updated everywhere yet?

That’s normal. As long as the old hosting remains active, visitors with an outdated cache simply see the old website, until their DNS cache refreshes.

Do I need to change my nameservers or just individual records?

That depends on your situation. Changing nameservers moves the entire DNS management to the new provider; adjusting individual records works if you want to keep DNS management with the current registrar.

What happens to my email during the switch?

As long as the MX record still points to the old server, email arrives there. Make sure you only switch once the new mail environment is fully working, to avoid missing messages.

Where can I find help if the DNS transfer doesn’t go smoothly?

Check the knowledge base for guidance per situation, or contact your hosting provider’s support team.

Conclusion

Transferring DNS during a hosting switch requires careful preparation: lower the TTL, fully set up the new environment, test thoroughly, and only then switch the DNS. Keep the old hosting active during the transition period and check both the website and email. This way, the switch happens without downtime or missed messages.

View web hosting β†’

Was dit artikel nuttig?