betim
betim
Explore posts from servers
CDCloudflare Developers
Created by betim on 4/26/2023 in #workers-help
Workers on Custom Domains
Hello all, looking for clarification on the Workers on Custom Domains scenario documented in the second paragraph of https://developers.cloudflare.com/workers/platform/triggers/custom-domains/#fetch. From the phrasing, I'm taking it to mean that a subrequest fetch to https://api.example.com from worker A hosted on app.example.com (set up as a Cloudflare Custom domain) to worker B hosted on api.example.com (also set up as a Cloudflare Custom domain) should work. Is this correct? From my tests, a fetch from worker A to api.example.com returns an HTTP 522 code. Other possibly pertinent details: - I have other services running on example.com as well as it's other subdomains, all fronted by Cloudflare DNS. - Parent domain name itself was purchased elsewhere but its DNS is hosted on Cloudflare.
1 replies