The first response I get is a 521 (Web server is down). Then it refreshes and turns into a 502.
Did you install SSL on your Linode server?
What SSL setting are you using at Cloudflare?
My theory is you don’t have SSL on your Linode server, so it’s not listening on Port 443. You have Cloudflare SSL set to Full, so it’s trying to reach your server on Port 443, and can’t. Then it fails in various ways.
I don’t think the SSL setting on Namecheap takes effect on your Linode server. At this point, Namecheap’s only part in this is to tell the world to use Cloudflare when trying to reach your domain.
At this point, it doesn’t seem your server is listening on port 80 (http) or port 443 (https). i.e. your web server isn’t running. I can ping it, but can’t reach it on Port 80 or Port 443.
Two things to try:
In Cloudflare’s DNS settings, change your domain records from to . This will restore direct connectivity to your server. My guess is this isn’t going to work since I can’t reach it directly anyway.
Change your name servers back to NameCheap and see if your site is working. This takes Cloudflare completely out of the equation. Again, I don’t think this is going to work for the same reason as above.
I have tried to change as per your suggestion #1 and the site couldn’t be reached at all. Now I’m changing back to its previous setting, and still stie couldn’t be reached.
I have temporarily deactivate the Cloud Flare but the site still couldn’t be reached.
It’s quite likely your web server (Apache or NGINX) isn’t running on your server. Try rebooting it. If that doesn’t work, you’ll have to troubleshoot it…or rebuild the server in an easier-to-maintain configuration.
A solid server setup would be to use Ubuntu 18.04 on your server, and have Serverpilot.io install a web server configuration. Their free plan is very reliable. It doesn’t feature SSL, but that can be installed manually.
I have finally fixed this problem by migrating to cloud based server by Bluehost.
I’m trying to optimise my website page speed by configure to Cloud Flare CDN.
My question is, since I’m already on cloud based server with Bluehost, do I still need to setup to CDN with Cloudflare in order for me to optimise my website page speed?