© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•4mo ago•
22 replies
runxc1

Cloudflare for SaaS more than one fallback domain

Background
I have a couple of different SaaS products, one with a couple hundred Vanity domains and another with less than 100. I have the potential of adding say another 1,000 vanity domains to each product as most current customers don't use vanity domains but it's something I'd like to encourage.

Objectives
1. For each product I want to give customers a single CNAME that they can point their vanity domain at.
example
vanity.customer1.com -> product1.company.com
2. I want to be able to direct traffic to more than one output point
example
vanity.customer1.com - >CNAME-> product1.company.com proxied to my-host-site.aws.net
vanity.customer2.com >CNAME-> product1.company.come proxied to my-host-site-beta-program.aws.net

Problems
1. Looking at the /ssl-tls/custom-hostnames dashboard site I am only seeing one "fallback". This is problematic as I have two different SaaS products (with plans for a third) and it doesn't let me direct traffic to a specific host.
2. My current host isn't AWS (each product is on a different host) but both of my hosting providers have a limit of between 50 and 500 domains that I can point to a single application and it looks like the domain reported once the traffic comes out of the proxy is the "vanity.customer1.com" and not "product1.company.com" so after configuring Cloudflare I would still have to configure each app to respond to every vanity domain which is problematic.

Maybe Cloudflare for SaaS isn't the solution to my Saas issues? Or am I missing something on setting this up?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Cloudflare for saas not hitting fallback domain instead hitting main domain
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago
Cloudflare for SaaS Domains
Cloudflare DevelopersCDCloudflare Developers / general-help
15mo ago
cloudflare for SaaS fallback origin(522 error)
Cloudflare DevelopersCDCloudflare Developers / general-help
5mo ago
Multiple Fallback Origins with Cloudflare for SaaS
Cloudflare DevelopersCDCloudflare Developers / general-help
17mo ago