For Workers & Pages, what is the name of the domain?
*.api.domain.com
What is the error message?
What is the issue or error you’re encountering
Unable to route requests from 4th (and 3th) level subdomains to worker.
What are the steps to reproduce the issue?
I have create a very basic worker script that simply returns “Hello world”. I would like to route all requests to *.api.domain.com
to it. I’ve configured a worker routing rule as seen in the pictures:
However, any requests made to the subdomain return DNS_PROBE_FINISHED_NXDOMAIN
. I can confirm that requests to the 3th level dev url is resolving without issue but the 4th level dev url isn’t. Also, I have not setup any special DNS records.
Does anyone know how I can route 4th level subdomains to a specific worker? Thanks in advance!