vanity domains using workers?

I am using Cloudflare pages, can i uset up vanity domains using workers (not cf vanity domains, as there is a limit of 100) instead can i proxy my cf site and use a vanity domain instead like docs.mycustomer.com but will show my pages domain?
2 Replies
Walshy
Walshy4w ago
I'm not fully sure what you're asking but I think you're asking can you use ssl for saas + workers to route to Pages - if so yes Just have a Worker to route based on whatever info and then setup - https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/start/advanced-settings/worker-as-origin/
Ricky U
Ricky UOP3w ago
@Walshy | Workers/Pages Sorry my question wasnt clear -- it was about setting up custom vanity domains for my pages project, so docs.yourcompany.com, can be a vanity doamin for my cf pages site mysite.pages.dev.. Curently i am using custom domain for cf pages, which has a hard limit of 250 domains which we're fast apporaching -- we are not charging our customers for this as they are mostly charity/ngo types.. -- you mention there is a way where i can use workerk to route based on the domain name? can you let me know more about this...i cnat afford the business or ent plan but even that comes with 500 custom domains only.. so looking for a no limit solution for supporting companies that cant afford to pay for it.k

Did you find this page helpful?