DNS for second domain name not working for some odd reason

I have two domain names on my Cloudflare account (for now they’ll be called a .com and b .com).

On both of these domains I’ve created an A record pointing to a static IP address that has a proper web server. When I type the IP address directly into my web browser the website shows up. When I type in a.com the website shows up. But when I type in b.com the website does not show up, instead I get a Error 522 Connection Timeout. I checked with the registrar and all the nameservers are registered and a who.is also returns Cloudlfare as b.com’s DNS.

My first recommendation would be to toggle that DNS entry to :grey: DNS Only (click the :orange: to toggle), then wait five minutes and try connecting to your site again. Otherwise, read on…

A 522 error typically happens when Cloudflare requests to the origin (your webserver) get blocked. Review the suggestions in this Community Tip for troubleshooting ideas.

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