• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue 502 Error

Vakarian

New Pleskian
Hello,

whenever I or another customer changes something in the Plesk interface (adding/deleting subdomains etc...) all websites (also from other customers) on the same server get a 502 error from ngnix.

Is there anything you can do about it?

Yours with best regards,
Vakarian
 
Plesk needs to restart the web server after related changes, so that they take effect. During the restart, visitors can indeed encounter a short 502 error.

There are two things you can do:

a) prevent Plesk from restarting the Apache web server too often, this can be done under Tools & Settings -> General Settings -> Apache Web Server Settings

Choose a longer Apache restart period, perhaps 600 seconds or so. The downside to this is that the changes to web site settings will have a delay before going into effect.

b) also enable Apache graceful restarts

Refer to this Plesk Help Center article: How to enable/disable Apache graceful restart in Plesk.

Note, and this is important, you shouldn't enable the graceful restarts unless you have prolonged the Apache restart interval and unless you have an active watchdog service (your own custom one or the one provided by Plesk).

An Apache graceful restart can take time. If there is a graceful restart in progress (but not completed yet) and another graceful restart is attempted, Apache will fail and remain shut down. Hence the importance of a prolonged restart period *and* an active watchdog service present on your system.
 
Back
Top