Is wildcard subdomain possible for a worker on free plan
I have a worker setup at abc.org.worker.dev is there any way I can do a wildcard subdomain from *.example.com
I saw the article https://blog.cloudflare.com/wildcard-proxy-for-everyone, but it seems to working for A record.
How do I do this with a worker. Any help is really appreciated
5 Replies
just a wildcard route like
*.example.com/*
and then a DNS Record for it, AAAA
*
100::
Proxied
, 100:: is IPv6 Discard, proxied to get the traffic flowing into CF and hit the routeThanks, That was fast!!
So a route is necessary. Is route the workers route
yes, a worker route. you can configure it under your worker settings -> triggers tab, or from the website in the dashboard under "Worker Routes"
You saved me
I have a demo tommorow. It works now
nice! ignore that btw, I just fixed the typo in the post title lol