Bad Gateway - error 521 than 502 after setting Cloudflare DNS

May 21, 2018 228 views
CDN One-Click Install Apps Ubuntu 18.04
biwers
By:
biwers

Hello, I linked my domain to my wordpress application and everything works. but when I change the DNS to configure CloudFlare, nothing else works and host error. normally everything works fine i can not find the problem. no firewall and the server is UP.

thanks again

1 Answer

Are you able to access your site by the IP address directly? A 521 error from CloudFlare indicates that your web server refused the request sent through from CloudFlare.

  • Yes the IP work. FInally I swicth to FLEXIBLE SSL and I install Really Simple SSL plugin to my wordpress. Now all work fine.

Have another answer? Share your knowledge.