Apex proxying
Last updated Jun 10, 2026
Apex proxying allows your customers to use their apex domains (example.com) with your SaaS application.
Note
Only certain customers have access to this feature. For more details, see the Plans page.
Benefits
In a normal Cloudflare for SaaS setup, your customers route traffic to your hostname by creating a CNAME record pointing to your CNAME target.
However, most DNS providers do not allow CNAME records at the zone's root<sup>1</sup>. This means that your customers have to use a subdomain as a vanity domain (shop.example.com) instead of their domain apex (example.com).
This limitation does not apply with apex proxying. Cloudflare assigns a set of Static IP prefixes - cost associated, reach out to your account team - to your account (or uses your own if you have BYOIP). This means then that customers can create a standard A record to route traffic to your domain, which can support the domain apex.
Setup
Footnotes
- Cloudflare offers this functionality through CNAME flattening. ↩
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/start/advanced-settings/apex-proxying/#page","headline":"Apex proxying","description":"Allow your customers to use apex domains with your SaaS application.","url":"https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/start/advanced-settings/apex-proxying/","inLanguage":"en","image":"https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/start/advanced-settings/apex-proxying/og.png?v=2f54c889ec47be73","dateModified":"2026-06-10","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["DNS"]}
description: Configure Cloudflare for SaaS to support apex domain custom hostnames. title: Setup image: https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/start/advanced-settings/apex-proxying/setup/og.png?v=dea4d0f89a1f9b85
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/cloudflare-for-platforms/llms.txt
Use this file to discover all available pages before exploring further.
Docs