© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago•
63 replies
Zack

subdomain wildcard first level

I was looking at workers-and-pages-helpcan't make route matching work with wildcard subdomain and am encountering a similar issue however just with the first level sub domain.

I have a worker that I want to reply to
*-val.mydomain.com/*
*-val.mydomain.com/*
I've tried setting this up as both a custom domain and a worker route, but no matter what combination I try I get a 522 error.

Do I also need to go the Advanced certificate path?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Workers routes wildcard subdomain affects other subdomains
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
8mo ago
can't make route matching work with wildcard subdomain
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
WILDCARD REDIRECTS
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
4mo ago
Workers on second-level subdomain without Advanced Certificate Manager
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2mo ago
Next page