What is a CNAME Record?

DNS record that creates an alias from one domain name to another.

Detailed Explanation

CNAME (Canonical Name) records allow one domain to point to another domain instead of directly to an IP address. This is useful for managing multiple services under different subdomains that actually point to the same location. However, CNAME records cannot coexist with other records for the same name and add an extra DNS lookup step.

Examples

  • www.example.com CNAME example.com
  • blog.example.com CNAME hosting-provider.com
  • mail.example.com CNAME mail-server.provider.com

Related Terms