Directadmin and Cloudflare - Error 520: Web server is returning an unknown error

Cheerag Nundlall

Well-known member
Registered
Joined
Oct 12, 2016
Messages
332
Points
18
I am getting this error Error 520: Web server is returning an unknown error randomly after click or visit some web pages, if I disable Cloudflare then no error but I don't want to disable cloudlafre because I am using SSL from Clouflare. I read some topics. Does anyone have same problem, which to fix this error?
 

fwh

Administrator
Staff Member
Joined
Dec 8, 2012
Messages
773
Points
63
Best answer
Honestly I got this error for a few websites that running directadmin and using Clouflare, you can fix it by using 2 these steps

- Disable proxy in DNS tab in Cloudflare

ssl3.png

- Using Free & automatic certificate from Let's Encrypt in Directadmin control panel

ssl1.png

sl2.png

After filled some information for Let's Encrypt, save it and Done!

You can refresh hundreds or thousands of your webpages without getting this error again.

If you still want to use Use the server's certificate (SSL) in Directadmin and Cloudflare DNS then let wait them for their fix. :)

Hope that helps!
 

Dr. McKay

Well-known member
Registered
Joined
Nov 26, 2016
Messages
565
Points
28
I see this error happened with cPanel and Cloudflare but it is rare, about 200 page visits you got once for this error.
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,488
Points
63
I have same problem but I can not disable cloudflare dns. Does anyone know how to solve this problem without disable cloudflare dns?
 
Recommended Threads
Replies
4
Views
2,880
Replies
7
Views
3,353
Replies
6
Views
1,700

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top