© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•3y ago•
3 replies
rockchalkwushock

Subdomains with Cloudflare Pages

I am having some trouble understanding what needs to happen with the configuration to achieve what I want:

I want to set up
blog.my-site.com
blog.my-site.com
and have all the routes associated to
/blog
/blog
in may application go through that subdomain.

So I set the CNAME
blog
blog
and from the documentation the
{SITE_NAME}.pages.dev
{SITE_NAME}.pages.dev
as the target. I can't make that
{SITE_NAME}.pages.dev/blog
{SITE_NAME}.pages.dev/blog
or the form yells at me so I assume that I would need to setup a Page Rule for forwarding?

This is where I'm super confused on how the DNS maps to my applications routes and visa versa.
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
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Cloudflare Pages and Subdomains for Users
Cloudflare DevelopersCDCloudflare Developers / pages-help
3y ago
cloudflare pages
Cloudflare DevelopersCDCloudflare Developers / pages-help
2y ago
Cloudflare pages on subdomains not automatically set up in web analytics
Cloudflare DevelopersCDCloudflare Developers / pages-help
10mo ago
Combine Cloudflare for SAAS with Cloudflare Pages
Cloudflare DevelopersCDCloudflare Developers / pages-help
3y ago