Customers using our domains as CNAMEs
Good day fellas!
I have a Cloudflare Free plan, and I want my customers to be able to add our domain as CNAME, to embed our website inside theirs.
I searched that this requires SaaS, but don't know how should I do that?
1 Reply
Hey 👋
You can find the CF for SaaS docs here: https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/
In the dashboard, it's under SSL/TLS -> Custom Hostnames
You basically set a fallback origin (the web server to receive all traffic for custom hostnames on that domain), and add a user's domain. There's different ways to verify, but the simplest is just them pointing a CNAME record at your domain. Then Cloudflare proxies the traffic to your fallback origin, keeping the host header as is, so your origin must be configured to accept that.
There are a few limitations and special things about it, like without Enterprise, unless they use a DNS Provider which supports ANAMEs/CNAMEs at apex, you can't have them point their root domain at you.
I want my customers to be able to add our domain as CNAME, to embed our website inside theirs.To clarify as well, this would be just for a subdomain, like example.customerdomain.com, this is separate from actually embedding your website inside one of their pages, which could be done with an iframe
Cloudflare for SaaS · Cloudflare for Platforms docs
Cloudflare for SaaS allows you to extend the security and performance benefits of Cloudflare’s network to your customers via their own custom or …