You need to use the following command
sudo /etc/init.d/apache2 graceful
This will gracefully restart your Apache with new configuration without affecting your client’s connections.
Incoming search terms:
- ubuntu apache graceful restart
- ubuntu apache2 graceful
- ubuntu restart apache graceful
- ubuntu apache restart graceful
- graceful restart apache
- restart apache server
- ubuntu restart apache
- ubuntu graceful restart
- apache graceful restart ubuntu
- apache graceful restart





It would be better to test first the Apache configuration file for errors:
/etc/init.d/apache2 configtest
[Reply]
Hey thanks for reference, just used it.
[Reply]
Great tip, thanks.
[Reply]