ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข2y agoโ€ข
7 replies
Manuel Ogomigo

Subdomain don't work with Cloudflare pages. HELP

Hi I'm currently building a tool with cloudflare pages, and have a middleware which checks the subdomain and show return a value.

I was able to test this using the test.mysite.pages.dev

but when I connected my domain, and added a wildcard routing, it didn't work.
Also added just a normal domain and still didnnt work.

my DNS
AAAA
*
100::
Proxied


CNAME
mysite.com
mysite.pages.dev


Please help, i've cleared the cache, and reconnected my domain, but the subdomain still don't seem to work.
image.png
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

Cloudflare with subdomain ?
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
Custom hostnames with pages don't seem to work
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago
Do page rules work with Cloudflare Pages?
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago
Cloudflare tunnel refusing to work without subdomain
Cloudflare DevelopersCDCloudflare Developers / general-help
17mo ago