CNAME Record

A CNAME (Canonical Name) record is a type of DNS (Domain Name System) record used to alias one domain name to another. It is often used when a domain owner wants a particular domain, or subdomain, to point to another domain’s address.

For example, suppose you have a website hosted at, and you also want to point to the same location as Instead of configuring the DNS settings of to the same IP address as, you can create a CNAME record that points to This means that any requests for will be automatically redirected to

Here’s an example of how a CNAME record might look:  IN  CNAME

In this example:

  • is the domain or subdomain for which the CNAME record is being created.
  • IN specifies the class of the record (Internet).
  • CNAME indicates the type of record.
  • is the canonical domain to which is being aliased.

It’s important to note that CNAME records only point to domain names and cannot be used to directly alias a domain to an IP address. Additionally, a domain cannot have both CNAME and other record types (like A or AAAA records) with the same name simultaneously.

Discover more from

Subscribe to get the latest posts to your email.

Leave a Reply

Select your currency
ZAR South African rand

Discover more from

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top