Domains, DNS, and Resolution Paths
When building a site for the first time, domains and DNS are usually the first things that confuse people.
Because they involve several things at once:
- Where to buy a domain
- Where to change resolution settings
- What
A,AAAA, andCNAMEmean - What a Nameserver is
- Why a record change does not take effect immediately
The Most Important Thing to Know First
A domain name is just a name. DNS is responsible for telling the world "where this name should go."
So:
- Buying a domain does not mean the website is already accessible
- Having a server does not mean users can reach it through a domain
- Changing a record does not mean it will take effect across the internet right away
The Roles You Will Actually Encounter
Domain Registrar
This is where you buy your domain, such as Aliyun, Tencent Cloud, Namecheap, etc.
DNS Provider
This is the service that hosts your resolution records. It can be the same company as your registrar, or a different one.
Nameserver
The Nameserver determines which DNS provider is ultimately responsible for resolving this domain.
If you connect your domain to Cloudflare, the most critical step is often not changing a specific A record, but changing the domain's Nameservers to the set provided by Cloudflare.