Unable to open any domain: 502 Bad Gateway

Refers to:

  • Plesk for Linux

Created:

2016-11-16 12:59:55 UTC

Modified:

2017-02-20 06:15:05 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to open any domain: 502 Bad Gateway

Symptoms

Unable to browse any domain hosted on the Plesk server. The browser displays this error:

502 Bad Gateway

Cause

The Apache service is stopped on the server.

Resolution

Since Plesk 11.0, Nginx can be installed as a reverse proxy server in front of Apache. The Nginx process runs on ports 80 and 443. It accepts all HTTP(s) requests and forwards them to Apache, which runs on 7080 and 7081 ports.

Check the Administrator's Guide for more details about Nginx.

If the browser returns the error 502 Bad Gateway, make sure that the Apache service is running on the server:

# service httpd start      //RedHat based
# service apache2 start //Debian based

The status of the Apache service can be also checked from the Plesk: Tools & Settings > Services Management 

Have more questions? Submit a request
Please sign in to leave a comment.