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?
1 Reply
Until now I have created a DNS record *.customer.mydomain.com pointing to 192.0.2.1, and a wildcard route mapping *.customer.mydomain.com / * to my worker,
However it seems like the universal ssl cert does not cover this, what is the easiest option to cover this? Just subscribing to ACM (Advanced Certificate Manager)?
Solved with ACM