A Record vs CNAME
An A record maps a hostname directly to an IPv4 address. A CNAME record maps one hostname to another hostname.
A record
Use an A record when you want a hostname to point straight to an IPv4 address.
CNAME
Use a CNAME when one hostname should act as an alias of another hostname, such as www pointing to a canonical host.
Important limitation
You generally should not place a CNAME at the zone apex on traditional DNS setups, because other records are usually needed there.
Recommended DNS record checks
Related DNS record comparisons
Related guides
Featured collections
Browse the full hubs
Jump into broader editorial collections built around comparisons and real-world workflows.
Comparison Guides
Browse side-by-side explainers across DNS, IP, RDAP, WHOIS, SSL, and email-authentication topics.
Browse comparisons →Network Use-Case Guides
Browse workflow-based guides for investigations, migrations, mail troubleshooting, delegation checks, and security review.
Browse use cases →