Trying to point 2 domains at the same ip

I have two site domains and both I am trying to point both to same ip,first one works fine and the second one gives 521 error,all solutions i found was just redirect and that doesnt works for me,check 10 times the dns is correct


Thank you for askin.

I am sorry to hear you are experiencing an issue with 521 error.

By what you stated, my assumption is you are running two (or possible in future more than two) websites (domains) on the same web server?

What kind of a web server are you running?

Can you access each of your websites when you enable the “Pause Cloudflare for this site” option from the Overview tab of the Cloudflare Dashboard for them?

Both websites are using the same port or a different one?

If so, are they working over HTTPS connection and have a valid SSL certificate each of them?

Have you checked your firewall settings and allowed Cloudflare to connect to your origin host/server as follows in the below article?:

Nevertheless, Cloudflare IP addresses list can be found here:

Are they “split” by each of it’s own vhost configuration file?

I am running 10s of domains on one web server, and no issue. Asking questions to try to understand better and have perspective to figure out what is going on where and provide some information for further troubleshooting the origin server configuration, if so.

May I ask have you looked into the below article for any clue or possible solution so far?:

1 Like

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