Apex domain: the root of your zone
An apex domain, also called a root or bare domain, is the registered name without any subdomain, such as example.com rather than www.example.com. In DNS terms it is the zone apex, the point where the zone's SOA record and authoritative NS records sit.
- example.com is the apex; www.example.com is a subdomain of it.
- The apex always carries the zone's SOA and NS records.
- A CNAME cannot sit beside those records, so pointing the apex at a host name needs another method.
What lives at the apex?
| Record | Why it is at the apex | Notes |
|---|---|---|
| SOA | Marks the start of the zone | Required, exactly one per zone |
| NS | Names the authoritative nameservers | Mirrors the delegation set at the registry |
| A / AAAA | Points the bare domain at a server IP | Fine at the apex |
| MX / TXT | Mail routing, SPF, verification | Common at the apex |
| CNAME | Not allowed beside SOA and NS | Use A/AAAA, or a provider-specific alias type |
Apex definition: RFC 8499, section 7. Alias or flattening features have different names and behavior at each DNS provider.
Apex versus www
The apex and www are separate names with separate records. Setting an A record on one does not set the other, so a missing record on either causes "site works with www but not without". Redirect one to the other and keep both resolving.
Common questions
Is an apex domain the same as a root domain?
In everyday use, yes: both mean the bare registered name such as example.com. In strict DNS terms, the root is the zero-length label at the top of the whole tree, so "zone apex" is the precise term for the top of one zone.
Can I put a CNAME on the apex domain?
No. A CNAME cannot coexist with other records at the same name, and the apex always has SOA and NS. Use A or AAAA records, or an alias-style record if your DNS provider offers one; the name and behavior are provider-specific.
Is a subdomain the same as the apex?
No. A subdomain such as blog.example.com is a name beneath the apex. It may live in the same zone with its own records, or be delegated to other nameservers.
Sources
Keep reading
Watch your domains automatically
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.