Ā© 2026 Hedgehog Software, LLC

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

Subdomain Routes With Multiple Workers

I have two workers say

account-worker
user-worker

Both running off a subdomain
my-api.my-domain.com
my-api.my-domain.com


In each worker I have set up the route to accept requests at:

my-api.my-domain.com/accounts*
my-api.my-domain.com/accounts*
for the account worker
my-api.my-domain.com/users*
my-api.my-domain.com/users*
for the users worker

Works locally fine when running and testing but there not accepting requests when deployed. Am I missing something?
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

Multiple workers vs 1 worker with routes
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Workers routes wildcard subdomain affects other subdomains
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
8mo ago
routes or subdomain?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
16mo ago