Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Glossary

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.

The short answer
  • 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.
Try the dns lookupFree, live, no signup

What lives at the apex?

Typical records at example.com
RecordWhy it is at the apexNotes
SOAMarks the start of the zoneRequired, exactly one per zone
NSNames the authoritative nameserversMirrors the delegation set at the registry
A / AAAAPoints the bare domain at a server IPFine at the apex
MX / TXTMail routing, SPF, verificationCommon at the apex
CNAMENot allowed beside SOA and NSUse 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.

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.