Knowledgebase

DNS When Changing Hosting Providers Print

  • dnsnameservers, dns, domain, nameservers, subdomain, ssl, guide, howto
  • 0

The records that must change.

WHAT CHANGES

The A records for the domain, www and every subdomain, to the new server's address.

Mail records, if mail moves too.

WHAT STAYS

Verification records for third-party services TXT records unrelated to mail Anything pointing at an external service

THE PREPARATION

Get the new server's address Note every existing record Lower TTLs a day in advance

THE SAFE ORDER

  1. Set up the site fully on the new server
  2. Test with a hosts file entry
  3. Lower TTLs
  4. Change the A records, or the nameservers
  5. Monitor
  6. Confirm everything works
  7. Only then cancel the old hosting

WHAT PEOPLE GET WRONG

Cancelling the old hosting before propagation completes. Some visitors are still being directed there.

Forgetting a subdomain.

Forgetting mail.

IF YOU CHANGE NAMESERVERS RATHER THAN RECORDS

Every record must exist at the new provider before switching. The zone does not travel with the domain.

AFTERWARDS

Run AutoSSL once the domain resolves to the new server.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot