When you make changes to Apache configuration, you need to restart the server to apply the changes. This can be problematic for production environments that need to be up all the time. One workaround is to simply reload Apache configuration without restarting. Let us take a look at how to do it.
How to Reload Apache Configuration Without Restarting
Here are the steps to reload Apache configuration without restarting.
Open terminal session or SSH into your Linux system and run the following command to reload Apache.
$ sudo /etc/init.d/apache2 reload
If the above command does not work for you, then here are some other commands to do it:
$ sudo service apache2 reload
$ apachectl -k graceful
That’s it! Apache will reload your new configuration without restarting.