Skip to content

CNAME record

A CNAME record points a DNS alias to another name. It is not an HTTP redirect and does not configure the destination server.

Cloud & Operations

What is a CNAME record?

A CNAME record identifies a DNS name as an alias of another name. RFC1035 describes this reference to the canonical name. Its target is a domain name, not an IP address or a full web link containing a page path.

Example: connecting a portal name to a service

In a fictional design, the public portal name points through a CNAME to the name specified by the service provider. Name resolution can use this to find the required address data. The web service must still accept the public portal name and provide a matching certificate.

The CNAME alone does not change the address used in the browser. Redirecting to another website would require a separate HTTP response. Individual page paths cannot be redirected with it either.

Before switching, the team therefore checks the DNS reference, destination resolution and actual portal access. The mere presence of the alias confirms neither successful operation nor that the application has been made available for access.

Sources

Articles on this topic

Cloud & Operations with ASES

Hosting, deployment, maintenance and support