Articles in this section

Unable to open any domain with enabled nginx on Plesk because Apache is not running

Plesk for Linux kb: technical ABT: Group B

Applicable to:

  • Plesk for Linux

Symptoms

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

    CONFIG_TEXT: 502 Bad Gateway

  • Nginx reverse proxy is enabled in Tools & Settings > Services Management.

  • Nginx service is running.

Cause

Apache service is stopped on the server.

Resolution

Click on a section to expand

Via Plesk GUI
  1. Log in to Plesk GUI

  2. Go to Tools & Settings > Services Management > Apache Web Server > Start.

  3. If the issue remains the same (or sites are not working with the different error message), go to Extensions > My Extensions > Webserver Configuration Troubleshooter and Rebuild All configuration files:

Via command-line interface
  1. Connect to the server via SSH

  2. Start Apache Web Server:

    1. For CentOS based:

      # service httpd start

    2. For Debian based:

      # service apache2 start

  3. If the issue remains the same (or sites are not working with the different error message), execute the following command:

    # plesk repair web -y

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.