Cloudflare for SaaS: How to support customers whose domains are managed by non cloudflare dns manage
I am planning to use Cloudflare for SaaS to build a platform where my customers can point their non cloudflare managed domains to a subdomain on my cloudflare managed domain.
Example
mydomain.com on cloudflare
customer 1 subdomain - cust1.mydomain.com (on cloudflare)
customer 2 subdomain - cust2.mydomain.com (on cloudflare)
customer domains(not on cloudflare)
cust1.com should point to cust1.mydomain.com
cust2.com should point to cust2.mydomain.com
Problem here is most domain managers other then cloudflare doesn't allow a cname record for then root or apex domain. so my customer's won't be able to add
CNAME @ cust1.mydomain.com
I am told i can ask them to add a A record. But A record needs an IP address but i don't have IP address from cloudflare for these subdomains
How do i resolve this?
2 Replies
I am told i can ask them to add a A record. But A record needs an IP address but i don't have IP address from cloudflare for these subdomainsCloudflare offers Apex Proxying for CF for SaaS an Enterprise addon: https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/start/advanced-settings/apex-proxying/, where they assign you a few of IPs for you to use. There sadly isn't a great solution for that otherwise. I believe there's hacks you can use using your own website's IPs without apex proxying but they could change at any time and break customer configurations
that's too bad. i was hoping to avoid using vercel.
cloudflare costs are more predictable plus the load speed for customers would have made it the best choice.
oh well, vercel it is for now.
thank you for response.