CNAME record
A CNAME record aliases one domain to another instead of pointing to an IP address directly.
CNAME ("canonical name") points one domain at another domain. For example, www.example.com might CNAME to example.com, meaning resolvers should look up example.com and use whatever IP it returns. Useful for service providers (GitHub Pages, Netlify, CDN endpoints) where the IP behind a hostname may change but the hostname stays stable.
Limitations: CNAME records cannot coexist with other records at the same name (so you can't CNAME the apex domain example.com itself in standard DNS — you need ALIAS or ANAME records, which are vendor-specific). For previewing, CNAME chains can complicate testing. hosts.click lets you preview at the final destination IP regardless of CNAME indirection.