DNS
Queries a remote service
CNAME Lookup
View a name's CNAME record: alias to another name, delegation chains and final resolution.
How it works
A CNAME creates an alias: www.example.com points to example.com or to a hosting service. Resolution follows CNAMEs in a chain down to the final target that holds the A/AAAA record.
A name carrying a CNAME cannot receive other records at the same level, and the root name (apex) generally cannot be a CNAME.
Examples
Frequently asked questions
CNAME vs HTTP redirect, what is the difference?
The CNAME acts at the DNS level (name to name); the HTTP redirect is a response from the web server.
Can a CNAME be placed on the root domain?
No, except with CNAME flattening offered by some DNS providers.