CNAME Record

CNAME records, or Canonical Name records, map an alias name to a canonical domain name.

For example, CNAME records define aliases for A records by pointing one domain to another domain instead of to an IP address. Because a CNAME record maps to a hostname instead of an IP address, any A record changes for the hostname will not affect the functionality of the CNAME record. It will always connect to whatever IP address is currently associated with the hostname.

Create and configure DNS records for domains managed on DigitalOcean.