I am trying to host a Website on Clouflare CDN using github as a source, but am getting a 522 error.
This should be pretty straight forward, so I am assuming the solution is a simple one.
I am building a website on Cloudflare pages and the generated domain works as expected
- xxx.pages.dev (xxx is not the actual name of the website)
The certificate for this is generated by Cloudflare.
Then I created a CNAME in cloudflare DNS to point my Pages project to my websites subdomain.
my website is mywebsite.ai
and works well, though the subdomains that work are hosted elsewhere.
I created a CNAME record like this.
CNAME record = subdomain, xxx.pages.dev, TTL Auto, Proxy Status Proxied
I expect my new hosted site to be
subdomain.mywebsite.ai
and to point to xxx.pages.dev
when I ping xxx.pages.dev
and subdomain.mywebsite.ai
they both respond to the same IP address
but when I enter subdomain.mywebsite.ai
it reponds with a
522 Error Connection timed out
I have waited more then 24 hours to be sure