ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข10mo agoโ€ข
10 replies
cathalogrady

522 error on new domain

I have a domain registered outside of cloudflare, which I successfully transferred so I can set DNS rules on cloudflare. This works perfectly and I have used this domain for about 2 years.

Today I bought a new domain from cloudflare and set it up the same way as I did my old domain with ddns via caddy reverse proxy. The dns rules were correctly auto updated and point to
the same IP as the DNS rules on the old domain.

The problem is that, now, despite having new routes setup on caddy for that domain (caddy also successfully gets certs for it), it seems that cloudflare cannot reach my server and trying to access my website returns 522.

I don't know how this new domain does not work, all of the troubleshooting for this error is not helpful as I have check:

* I am pointing to the right IP
* I am the admin so I can see that caddy is not being hit by cloudflare
* The server is already reachable by other cloudflare IP's

Any help would be appreciated, thanks.
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

domain 522 error
Cloudflare DevelopersCDCloudflare Developers / general-help
3mo ago
522 on www. domain
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
522 error for multiple domains.
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
522 Error Cloudflare Pages and Custom Domain
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago