# Apex domains

Source: https://docs.fortrabbit.com/platform/domains/apex-domains
Published: 2024-11-13
Updated: 2026-10-21
Reviewed: 2026-10-21

> Apex domains carry no prefix and cannot be routed directly on fortrabbit. Use a www domain and the forwarding service instead.


## Apex routing at fortrabbit

Apex domains can not be routed to environments directly. Use a www domain: the [www forwarding service](/platform/domains/domain-forwarding-service) will redirect all requests.

## No CNAME for apex domains

Although not impossible, apex domains should not be routed using a CNAME record. Use an A record instead. This is because of [DNS specs](https://www.ietf.org/rfc/rfc1035.txt). Receiving e-mails like `info@fortrabbit.com` would not be possible when DNS entries have CNAME record at the same time. Modern DNS providers support ANAME/ALIAS records for this.

## No A record routing to environments

A host name is more flexible than an IP. Any domain routed to an IP is bound to that IP. This doesn't give us the flexibility to move environments around, in case of scaling or incidents, for example with a DDoS attack.

## Arguments

Some think that the minimal look of an apex domain is aesthetically more pleasing than their subdomain counterparts. But as described above, apex domains don't play well with flexible host name routing. Big players like Google use a `www.` subdomain without you noticing, many other big sites do the same. Safari and Chrome don't show the `www.` prefix in the address bar anymore. Firefox greys out the protocol of this trivial domain. The `www.` prefix is so common, you hardly recognize it. Some people think, moving from bare to `www.` will impact SEO negatively. This should not be the case if done properly, as long as the apex domain will forward all requests, also deep links with proper 301 moved permanently HTTP status code. It's transparent. People can continue to use the apex domain in communication, such as social media posts and business cards.

---

- [Domain](/platform/objects/domain)
- [ANAME / ALIAS records](/integrations/dns/aname-alias-records)
- [Domain forwarding service](/platform/domains/domain-forwarding-service)
