3.1.5.3. CNAME

Important points:

  • CNAME record can be added only for subdomains. For the main domain, use ALIAS instead of CNAME.
  • For a single subdomain, a CNAME record cannot be added at the same time with records of another type, there must be only one thing, either a CNAME or a record of another type.
  • CNAME cannot be used for redirects because the HTTP redirect is not configured at the DNS level, but at the level of the web server to which the domain is pointed.

CNAME is a DNS record that completely copies all records of another domain. In a sense, it binds the subdomain for which the record is created to the actual (canonical) domain name. Simply put, when a CNAME is accessed, the DNS system will return records for the domain that is specified in the CNAME data.

Inhalt

    (1)