522 error with Porkbun registered domain using Cloudflare Pages with Github

What is the name of the domain?

eatpiatto dot com

What is the error number?

522

What is the error message?

Connection timed out Error Code 522

What is the issue you’re encountering

I have a domain registered with Porkbun and hosted on Cloudflare with Cloudflare pages and Github integration. I have edited the namerservers on Porkbun to point to Cloudflare and removed the necessary DNS records. On Cloudflare, I have added CNAME for both the root and subdomains and pointed them towards ‘project_name’.pags.dev.

What steps have you taken to resolve the issue?

I spoken with Porkbun customer service and they don’t see any issues on their end that would cause this. Further, they reviewed my DNS records on Cloudflare and didn’t see any issues.

What feature, service or problem is this related to?

I don’t know

What are the steps to reproduce the issue?

Go to eatpiatto.com

That isn’t enough, you need to add each hostname under your Pages Project → Custom Domains tab. It’ll create the CNAME for you as well, if it doesn’t exist. You’ll get a 522 error for any hostname not in that list. You’ll want to add your root (eatpiatto.com) and any subdomains you want to work, as Pages Custom Domains.
Magic Link: https://dash.cloudflare.com/?to=/:account/pages/view/:pages-project/domains

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.