Skip to content

How to CNAME root domain and alternative solution

homepage-banner

Keywords

  • ALIAS
  • ANAME
  • CNAME flattening

Generally

A CNAME cannot be placed at the root domain level, because the root domain is the DNS Start of Authority (SOA) which must point to an IP address. CNAME records must point to another domain name, never to an IP address.

Solution

But different DNS provider has different solution.

Cloudflare

Cloudflare has a solution called CNAME Flattening. It’s a feature that allows you to CNAME the root domain to another domain.

Name.com

Name.com has a solution called ANAME. It’s a feature that allows you to CNAME the root domain to another domain.

Other ANAME DNS provider: DNSMadeEasy, easyDNS

Gandi

Gandi has a solution called ALIAS. It’s a feature that allows you to CNAME the root domain to another domain.

Other ALIAS DNS provider: DNSimple, PointDNS

Reference

  • https://blog.cloudflare.com/introducing-cname-flattening-rfc-compliant-cnames-at-a-domains-root/
  • https://www.name.com/support/articles/115010493967-adding-an-aname-alias-record
  • https://docs.gandi.net/en/domain_names/faq/record_types/alias_record.html
Leave a message