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

Cheerag Nundlall

Well-known member
Joined
Oct 12, 2016
Messages
248
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
758
Points
63
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
Joined
Nov 26, 2016
Messages
514
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.
 
Latest Threads
Replies
1
Views
26
Replies
1
Views
37
Replies
5
Views
48
Replies
0
Views
49
Replies
2
Views
56
Recommended Threads
Replies
13
Views
4,430
Replies
2
Views
2,038
Replies
1
Views
1,707

Latest postsNew threads

Sponsors

Latest Blog ArticlesMost Viewed Threads

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