Connecting a domain: the DNS records that matter
A records, CNAMEs and what “propagation” really means, without the jargon.
2 min read

Connecting a domain to a website means editing a short list called DNS records, usually at the company where the domain was bought. Most of that list can be left alone. These are the records that matter, and the ones to leave be.
First, find out where the records live
Look up the domain’s nameservers with any DNS lookup tool. They tell you which company’s DNS settings are in charge. If they point at the registrar, edit the records there. If they point somewhere else, such as Cloudflare or an old host, that’s where changes have to be made. Editing records anywhere else does nothing, which explains a lot of “I changed it and nothing happened”.
A records: the bare domain
An A record points a name at an IPv4 address (an AAAA record does the same for IPv6). The bare domain, example.com, usually needs an A record, because the DNS rules don’t allow a CNAME at the top of a domain. Some DNS providers offer a workaround called CNAME flattening, ALIAS or ANAME, which lets the bare domain follow a hostname instead of a fixed address.
CNAME records: www and other subdomains
A CNAME says “this name is the same as that name”: www.example.com points at a hostname your website host gives you. The host can then change its addresses without you touching anything. Use CNAMEs for www and for subdomains like blog.example.com.
The records to leave alone
- MX records deliver email. Moving the website doesn’t need them changed; deleting them stops email arriving.
- TXT records prove ownership to other services and help email get delivered (SPF, DKIM). Add the ones you’re asked to add, and don’t remove ones you don’t recognise without checking first.
- NS records at the top of the domain are the nameservers themselves.
What “propagation” really means
Nothing is pushed around the internet. Every record has a TTL (time to live): the number of seconds other servers may keep a copy before asking again. After a change, some visitors see the old answer until their copy expires. If a move is planned, lowering the TTL to 300 seconds a day ahead makes the switch quicker.
A checklist for the switch
- Check which nameservers are in charge.
- Note the existing records before changing anything. A screenshot is fine.
- Lower the TTL a day ahead if you can.
- Add or change the A record for the bare domain and the CNAME for www, exactly as the host asks.
- Leave MX and TXT records as they are.
- Check that both example.com and www.example.com load over HTTPS, and that one sends visitors to the other.
DNS looks intimidating because of the abbreviations, not because of what it does. Two or three records, changed in the right place, is all most websites need.
- DNS
- domains



