Point the domain to a VPS

Hello,
I have a domain purchased from Namecheap (MyDomain.com)
I have set the dns in namecheap (Custom Dns) to cloudflare dns name servers
I added this domain (MyDomain.com) to cloudflare
I have installed apache on my VPS server (IP : xx.xxx.xxx.xxx)
But when I check my website (MyDomain.com) I receive this error :
Error 521
Host
Error
Please guide me to set up my website
Regards
Chaouki

If I check my web page with the IP it displays what I want correctly

A 521 error happens when Cloudflare is unable to make a TCP connection to your origin server. Review the suggestions in this Community Tip for Quick Fix Ideas.

Did you do these two steps in this order? Is the domain active in your Cloudflare account?

1 Like

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