For Workers & Pages, what is the name of the domain?
What is the issue or error you’re encountering
Worker returns 404 for root domain but works fine for subdomains
What are the steps to reproduce the issue?
Worker routed to *mydomain.com
When visiting “www.mydomain.com”, 404 error is returned.
When visiting “server1” and “server2” subdomain, worker returned successfully.
Since we have been using Cloudflare load balancer to distribute traffics among two web servers, I suspect that was the cause of this behaviour.
Is there a way to make it work?