How to CNAME root domain and alternative solution
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
Back to Table of Contents
Disclaimer
- License under
CC BY-NC 4.0
- Copyright issue feedback
me#imzye.com
, replace # with @ - Not all the commands and scripts are tested in production environment, use at your own risk
- No personal information is collected.
Feedback