Cloudflare SaaS fallback with customer cname domain 522
I have
- setup a worker with a custom domain pointing to customers.x.dev
- set the fallback as customers.x.dev on the /ssl-tls/custom-hostnames page and is active
- have set y.dev to as a custom hostname on /ssl-tls/custom-hostnames and is verified and active
- have set a CNAME on y.dev to customers.x.dev (tried proxied and non-proxied)
When i access customers.x.dev it does respond correctly, however when accessing y.dev I get Connection timed out Error code 522
Account id: 6e810700260d9b58e259560786fb1e92
can dm the sites in question 😄
I have used CF SaaS before using worker custom domains and got it to work with the worker route wildcard, so is there a way to also use the fallback with worker custom domains?
2 Replies
both hostnames are on the same account
switching back to having customers.x.dev with IPv4 address 192.0.2.1 and worker / works.
would just be nice if the worker custom domains worked
Yea, it just doesn't work with Custom Domains. The request comes through with the original hostname of
y.com
, which doesn't equal the custom domain, and it just gets confused