CNAME

A type of DNS (Domain Name System) record that creates an alias for one domain name to point to another. Think of it as a nickname or a shortcut.

How CNAME works

A website hosted at example.com can also be made accessible via www.example.com by creating a CNAME (Canonical Name) record for the latter, pointing it to the former. When a user types www.example.com into their browser, the Domain Name System (DNS) follows the CNAME record and directs them to the content hosted at the root domain, example.com. A CNAME record always points to another domain name, not directly to an IP address. Additionally, it cannot be used for the root domain itself, and excessive chaining of CNAME records can negatively impact performance.

Exit mobile version