I’ve added DNS records to an external domain, so it points a Cloudflare domain running a worker.
page in CNAME myworkerdomain.com
I’m trying to read the host header from a worker and use it to get contents from a cloud storage provider, but it only runs if I request the domain the worker is on directly.
It doesn’t run requesting page.myexternaldomain.com. It this because of how it they work with routing zones?
If so, is there a way to run a worker by pointing an external domain to it? A proxy server in front of the worker could work, but that kills the idea of responding from the edge.