Error code 520 in my subdirectory

Hello everyone,

I don’t have a problem in my basic domain

but in my subdirectory, I get 520 error code

I tried to get output of this code
curl -vso /dev/null --user-agent “Mozilla 5.0” -H “Host: domain.com” http : //domain.com/support

and the result was:

GET /support HTTP/1.1
Host: domain .com
User-Agent: Mozilla 5.0
Accept: /

  • Mark bundle as not supporting multiuse
    < HTTP/1.1 301 Moved Permanently
    < Date: Sun, 20 Sep 2020 12:34:25 GMT
    < Server: Apache/2.4.39 (Unix) PHP/7.4.9

but for the basic domain I get 200 ok message:

  • Mark bundle as not supporting multiuse
    < HTTP/1.1 200 OK
    < Date: Sun, 20 Sep 2020 12:35:07 GMT

How can i resolve this problem?

Meanwhile, WHMCS installed in the subdirectory

I don’t see a 520 in the tests you quoted. Then again, the 301 example you posted is not using Cloudflare.

A 520 error occurs when the connection started on the origin web server, but that the request was not completed. The most common reason why this would occur is that either a program, cron job, or resource is taking up more resources than it should causing the server not to be able to respond to all requests properly.

Review the Quick Fix Ideas in this Community Tip for troubleshooting suggestions.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.