How to CNAME root domain and alternative solution
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.
But different DNS provider has different solution.
Cloudflare has a solution called
CNAME Flattening. It’s a feature that allows you to CNAME the root domain to another domain.
Name.com has a solution called
ANAME. It’s a feature that allows you to CNAME the root domain to another domain.
ANAME DNS provider: DNSMadeEasy, easyDNS
Gandi has a solution called
ALIAS. It’s a feature that allows you to CNAME the root domain to another domain.
ALIAS DNS provider: DNSimple, PointDNS
Back to Table of Contents
- 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.