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

Started by Suhitha, Nov 24, 2025, 07:21 AM

Previous topic - Next topic

Suhitha

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

Applicable to:

  • Plesk for Linux


Symptoms

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

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

                                                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

  • Connect to the server via SSH
  • Start Apache Web Server:

1.For CentOS based:

# service httpd start

2.For Debian based:

# service apache2 start

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

# plesk repair web -y