Domain and DNS

Work out who owns your domain, which records point it to your website and your email, and how you would undo a change, before you edit anything.

Content date: October 15, 2026.

Plain English

A registrar is the company where you registered the domain; it holds the registration and handles renewals. DNS is the public directory that says where each name points. A host serves your website. One company can do all three jobs, or three can. DNS answers "where does this name go?" It doesn't deploy your site, create a security certificate, or redirect visitors. Email uses the same domain but has its own records.

Use this when

Do this before you connect a public domain, move hosting or email, change nameservers, or hand the project to someone else.

If you are just starting

Start on paper. Buying a domain is optional. For a real site, write down the registrar, the DNS provider, the host, who renews the domain and with which email address, how you would recover the account, and whether you want example.com, www.example.com, or both to work. Copy down every existing record before you edit one. Use the exact values your host shows you, never an address an AI tool made up.

When your project grows

Before you change nameservers, export the whole DNS zone and keep every email, verification, and subdomain record still in use. If DNSSEC (a signing system that protects DNS answers) is on, follow your providers' documented order for the DS record at the registrar, because a stale one makes validating resolvers fail the whole domain. Then check each layer separately: the DNS answer, the HTTPS certificate, the redirect, and the page. Resolvers can keep an old answer until the record's TTL (time to live) runs out, so don't promise instant changes. Keep the old values for rollback.

Worked example

Maple Street Bakery moves its website to a new host while staff email stays with its current mail provider. The plan changes only the www CNAME and the apex address records. The MX, SPF, DKIM, and DMARC records stay as they are. Afterward the owner checks four things separately: what a public resolver returns, that the certificate matches www.maplestreetbakery.example, that the plain domain redirects to www, and that the homepage shows the new site.

Practice

Prepare a narrow DNS change plan

  1. Sort the workbook's made-up records into web, mail, verification, and delegation (nameserver) groups.
  2. Write down who owns the domain, how you would recover the account, and who handles renewal.
  3. Pick the records the pretend hosting move would change, and explain why each other record stays.
  4. Write what a DNS lookup, the HTTPS certificate, the hostname, and the redirect should show, plus your rollback steps.
  5. List the provider instructions and live checks you'd still need, and keep made-up values out of any real zone.

Deliverable: An ownership map for the domain and its services, plus a record-by-record change plan with checks, cache timing, and rollback.

Common mistakes to watch for

  • A bakery moves its website, the new DNS zone leaves out the MX records, and customer email stops arriving.
  • The domain is registered in a former contractor's account, and renewal notices go to an inbox nobody reads.
  • A lookup shows the new address, the move is declared done, and visitors still see a certificate warning.
  • A nameserver move leaves an old DNSSEC DS record in place, and the domain stops resolving for many visitors.

Prompting

A weak prompt

Point the domain at the new website and replace whatever records are already there.

A better prompt

Help me plan a DNS change for [my domain]. List the registrar, DNS provider, website host, and email provider, who owns each account, and how I recover it. Using [the host's current setup instructions], propose only the records that must change and keep every unrelated one, including MX, SPF, DKIM, DMARC, and verification records. Cover apex versus www, redirects, HTTPS and DNSSEC checks, TTL timing, and rollback. Don't buy anything or change live DNS.

A small-looking record can take down email or a login you forgot you had, and a domain in someone else's account can be unrecoverable when it expires.

Check before you move on

  • You know who owns the domain account and who pays the renewal.
  • Every existing DNS record is copied down with its purpose.
  • Website records and email records are listed separately.
  • New values come from your host's current instructions.
  • You test the DNS answer, certificate, redirect, and page separately.
  • You have the old values and a written rollback step.

You are done when

  • Your change plan lists each record to add, change, or keep, with a reason, so an outsider could review it line by line.
  • Checks you haven't run are marked not done, and no made-up value appears as a real setting.

Questions to think about

Your website host is changing but staff email is staying put. Do the MX records need to change?

No. MX records tell the world where to deliver your mail, so they stay unless the mail service itself changes. Replacing them by accident is how a website move breaks email.

You add a CNAME for www and expect visitors who type the bare domain to land on www. Will that happen?

Not from the CNAME. It's a DNS alias that makes one name resolve like another. Sending visitors from one address to another is a web redirect, set up and tested on the host.

Why copy down the old records before you change nameservers?

They let you review the change and put things back if it breaks. Email, DNSSEC, and cached answers all depend on the old setup, so the copy is your map of what must carry over.

Official references