© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•8mo ago•
9 replies
James Eastham

Cloudflare Worker with root domain as custom domain issue

Hi there, I have got a Cloudflare Worker mapped to the root domain and whenever I try to access it I get 'UNKNOWN HOST' error and the brower returns "we're having trouble finding that site". If I map a subdomain to the worker it works absoloutely fine.

Has anyone else encountered issues using the root domain as a custom domain for a worker? Or is there some different configuration required.
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

Worker 522 with custom domain name
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Astro worker custom domain
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2mo ago
Worker custom domain routes
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Issue with Cloudflare TailEvent Worker Update
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago