Knowledge Base
MilesWeb / Cloudflare CDN

How To Troubleshoot Cloudflare Connections?

Approx. read time : 3 min

If you have enabled Cloudflare on your website, at times you might encounter some connection related problems. This article provides you information on the causes of these problems and how to troubleshoot them.

Cloudflare Error Pages

When Cloudflare displays error page in place of your own content, this is one of the most common indicators of a problem. These error pages will provide you complete information about why your website is not loading properly.

There are many situations when an error page is displayed by Cloudflare, they are mentioned below:

  • 520 Web server returns an unknown error
  • 521 web server is down
  • Error 522 – Connection timed out
  • 523 origin is unreachable
  • 524 A timeout occurred
  • 525 SSL handshake failed
  • 526 invalid SSL certificate

In order to get complete information about these errors, you can visit : https://support.cloudflare.com/hc/en-us/articles/115003011431-Troubleshooting-Cloudflare-5XX-errors

Site DNS Settings

In order to make Cloudflare work, the DNS settings of your website should be configured correctly to route the traffic through their network. When you enable Cloudflare through cPanel, this process automatically takes place.

  • In case your website is experiencing connection issues and it has been less than 24 hours since you have enabled Cloudflare, you need to give it some time. It might take up to 24 hours for the DNS settings to propagate completely.
  • If you get a blank page in your browser (also known as the white screen of death), this indicates an issue with your website’s web application or the web server. In this case, Cloudflare is not the cause.

Follow the steps mentioned below in order to verify that your website is correctly configured at the DNS level to work with the Cloudflare network:

1. Login to your account through SSH.

2. Enter the command mentioned below at the command prompt. Note : replace yourwebsitename.com with your website’s domain name:

dig www.yourwebsitename.com @127.0.0.1

  • In case if dig receives a response of www.yoursebsitename.com.cdn.cloudflare.net, proceed to step 3.
  • In case if dig does not receive this response, it means that your domain’s DNS is not correctly configured to work with Cloudflare. If it is indicated in cPanel that Cloudflare is enabled, you can get in touch with our support team to know further.

3. Enter the command mentioned below at the command prompt. Note : replace yourwebsitename.com with your website’s domain name:

dig www.yourwebsitename.com

  • In case if dig receives a response of www.yoursebsitename.com.cdn.cloudflare.net, proceed to step 4.
  • In case if dig does not receive this response, it means that your domain’s DNS is not correctly configured to work with Cloudflare. If it is indicated in cPanel that Cloudflare is enabled, you can get in touch with our support team to know further.

4. Use nslookup or dig on your local computer for quering www.yourwebsitename.com where yourwebsitename.com is your domain name.

  • In case you receive a response of www.yoursebsitename.com.cdn.cloudflare.net, where yourwebsitename.com is your domain name, then the DNS settings of your domain are working perfectly along the entire connection path through your local computer to Cloudflare to the web server.
  • In case you don’t receive this response, there is no problem with Cloudflare. Your local computer or network might have some configuration related issue that is preventing access to Cloudflare on your website.
My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.

Trusted By Thousands of Clients & Big Businesses

We highly appreciate the kind and stellar feedback we receive from our customers. Delivering the best is our goal! MilesWeb is rated Excellent out of 5 based on reviews. Read more reviews.

Excellent
Based on reviews
2 hours ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
4 hours ago
Milesweb is superb Hosting pro...
Milesweb is superb Hosting provider ever, their Support team is amazing!!!...
Abhishek Singh
15 hours ago
Great support in great timing...
We need urgent assistance on changes in a primary domain on our client's Cpanel accounts and reached...
Riyaju Deen
21 hours ago
Best Website Hosting platform ...
I was new on MilesWeb. And needed help on multiple areas from setting up to getting started with cre...
Harshada
1 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
1 days ago
the team is very supportive th...
the team is very supportive though at times effort needs to be made to make understand the problem s...
Suree Sharma
1 days ago
I am using miles web for 3plus...
I am using miles web for 3plus years, very quick and perfect support by the team, they helped me man...
Sri Raghav
2 days ago
The service is good...
The service is good. They are answering with patience and doing the needful as soon as possible....
MR
2 days ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
3 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
4 days ago
positively helped me with find...
positively helped me with finding insecure content on my website causing SSL to not work properly on...
Thaviraj Junglee
4 days ago
Exceptional support, Truly Pra...
I had opted for the basic wordpress hosting plan as I intended to experiment with various plug-ins. ...
Aseem Chandna