I need your help.
- Domain transferred to Cloudflare Registrar.
- Deployed a page with Cloudflare Pages.
- Added my domain as custom domain in CF Pages.
- Getting an error 522 while trying to go through my domain.
The long version with screenshots:
I’ve been using Cloudflare SSL for my websites for a long time, but all my data and domains were with Namecheap. Now I’ve decided to transfer everything to Cloudflare.
I’ve transferred all my domains to Cloudflare Registrar yesterday and decided to try CF Pages as it looks really promising for me. So I’ve created a basic HTML page project and deployed it.
Then tried connecting my custom domain to my deployed page and here where I got stuck. First I received 524 error timeout. I played with some settings and disabled Railgun as per this forum post. Now I’m getting error 522. It seems something is wrong with my DNS records or some other configuration that was set by me for my Namecheap hosting that now breaking it with CF Pages. Maybe page rules or the SSL certificate?
My DNS page:
My Custom domain page in CF Pages:
On troubleshooting support page, one of the resolutions is
The origin IP address in your Cloudflare DNS app does not match the IP address currently provisioned to your origin web server by your hosting provider. But I don’t know what IP address for my CF Pages is?
I’m thinking of removing my website from Cloudflare entirely with all DNS and page rules and SSL and everything and starting from scratch. But I’m not sure if it’s the right solution, or if it will even fix it.