- Plesk for Linux
Websites are unavailable after changing any settings in Domains > example.com
during installation or removing applications in Domains > example.com > Applications:
CONFIG_TEXT: 502 Bad Gateway
In Tools & Settings > Apache Web Server, the Apache restart interval value is set to 0.
Apache restart causes websites unavailability.
When the interval is set to 0, Apache web server restarts immediately after any changes in domain settings and it causes websites downtime.
Open Tools & Settings > Apache Web Server.
Set Apache restart interval more than 0 for example 600 (interval is set in seconds).
Due to these settings, Apache will be restarted once in 600 seconds.
Additionally, consider enabling Apache graceful restart to avoid termination of existing connections to the websites.