Skip to content

Definition

CNAME record

Also called canonical name record

A CNAME record, short for canonical name record, is a DNS record that makes one domain name an alias of another name, so lookups for the alias follow through to the records of the target name.

What it means

A CNAME points a name at another name rather than at an address. If a host changes its server addresses, every customer whose CNAME points at the host name follows automatically, which is why services often ask for one.

CNAME records are used for subdomains, such as www.example.com or portfolio.example.com. A name with a CNAME cannot hold other records, and because the bare domain must hold records such as SOA and NS, a CNAME is not allowed at the apex. Some DNS providers offer flattening or ALIAS records to work around this.

When you connect a subdomain to Folio, the app shows the CNAME to add; for a bare domain it shows an A record instead.

Example

Name: www   Type: CNAME   Value: host.example.net

Frequently asked questions

What is the difference between an A record and a CNAME record?

An A record points a name at an IPv4 address. A CNAME points a name at another name, and the final address comes from that target. Use an A record at the bare domain and a CNAME for subdomains.

Why does my DNS provider refuse a CNAME at the root?

The root of a domain must carry records like SOA and NS, and a CNAME cannot coexist with other records at the same name. Use the A record your host gives, or your provider flattening feature if it has one.

Start free

Build your resume and portfolio in one place.

Resume PDF and DOCX export is free and unwatermarked on every plan, and every published portfolio ships with a sitemap, structured data, and llms.txt.