• 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.

Can i stop apache from restarting after new domain

bizzehdee

New Pleskian
is it possible to set an option in the psa database anywhere that will prevent apache from rebooting every time a new domain/subdomain is added/removed/suspended/activated. we are having problems that we are adding and suspending new domains throughout the day and every time we do, apache restarts, dropping all the websites until it comes back online, which can take 15 -20 seconds, which may not sound like a lot, but as a web design company, the server should never be down.

what we would rather happen is that all the configs are changed/added as normal, but apache is not restarted and we will create a cron job that restarts apache to reflect the new configs at midnight every night to avoid any notable downtime.
 
There is an option "Apache restart interval" in "Tools & settings -> Server Settings".
With this option you can delay apache restarting on specified number of seconds.

Also, you can modify apache restart script to do not restart until special condition (environment variable exist or something else) but it is a dirty hack.
 
Back
Top