Cloudflare DevelopersCD
Cloudflare Developers4mo ago
2 replies
antim8

Wildcard subdomain for worker

Hi, I’m trying to set up a single Worker that handles requests for *.customer.mydomain.com.

Each customer points their domain to [customerId].customer.mydomain.com via CNAME and CF for SaaS.

My Worker should pick up all requests under that wildcard and route accordingly.


What is the proper / intended way to solve this with Workers + CF for SaaS?
Was this page helpful?