I’m trying to get
docs.mydomain.com to point to
docs.mydomain.workers.dev. The worker only returns a raw HTML response.
- I created an identical CNAME record for both
docs.mydomain.comto point to
- I set up identical worker routes to my worker for both subdomains
The difference is,
docs-old.mydomain.com works as expected, while
docs.mydomain.com points to
mydomain.gitbook.io/latest. There are no other records related to these subdomains. Initially, I thought the problem might be with the
gitbook setup, so I nuked it. Now, the subdomain points to a dead URL. There is no mention of
docs.mydomain.com anywhere in the
This problem only occurs when I have the orange cloud turned on for the
docs.mydomain.com (The type of the record doesn’t matter, it malfunctions on A, AAAA, and CNAME). I am able to use the grey cloud (DNS only), and then the DNS records work properly, but then I can’t use Cloudflare features with the subdomain, of course.
I tried purging the cache for that particular URL, but no dice.
Does anyone have an idea what might be happening?