Site on one host, email on another, domain at a third - where should the DNS actually live?
Moved a small site to a new host last month, changed the nameservers because the new host told me to, and took the client's email down for most of a day. I now understand that I did that to myself and I still do not have a rule I trust for next time. Three sites to move in the next month and I would like to not repeat it. Where do you put the zone and why?
@clickertrainbee · 3mo ago · 3 replies
The mental model that fixes this: the registrar is who you rent the name from, the nameservers say which company answers questions about the name, and the records inside the zone point at whoever runs each individual service. Those three are completely independent and can be three different companies.
When you change nameservers you are not moving the website, you are replacing the entire answer sheet. The new host's answer sheet has an A record for the site and nothing for mail, so mail stops.
My rule: pick one DNS provider deliberately, keep every zone there regardless of who hosts what, and never let a host talk you into moving nameservers as part of an onboarding wizard. Export the zone before you touch anything.
Reply
Report
@null_pointer_ok · 3mo ago
Replacing the answer sheet rather than moving the site is the sentence I needed a month ago.
Reply
Report
@muslin_mira · 3mo ago
The export before you touch anything step is the one to institutionalise. Save the zone file into the client folder. It has saved me twice when a host wiped records during a migration.
Reply
Report