Wildcard support for preview build on Pages *.mydomain.com -> *.project.pages.dev
Hi,
Is there a way to support this ?
8 Replies
Hey, no, Pages currently don't support Wildcard domains. As a workaround you could run a Cloudflare Worker on a wildcard route that proxies the Pages project manually, but you'd need a Workers Paid plan to do more than 100,000/day of those requests.
In the future, Snippets will help users more easily and affordably implement these kinds of features themselves: https://blog.cloudflare.com/snippets-announcement
Thanks for your time !
@Vero 🐙 May I know the rough timeline on when it will be available?
Hi. It's not planed, so no timeline yet, sorry
Okay, no worries. Can you point me to some docs or example on how to achieve this with worker ?
https://discord.com/channels/595317990191398933/1235046580864942161
I tried to implement this way
Sorry for the delay. I've asked one of our champs to help you in the thread
No worries. Meanwhile I learned a whole lot about DNS error codes 😅
:bibicat: