Learn to Restart Apache on Dedicated Server

Dedicated server in which root access is given to the user is that the only choice where any service that you just want can be restarted manually. By following the below ways you can restart the Apache service:

WHM – For restarting your Apache service from the WHM panel, move to Restart Services then go to HTTP Server (Apache). For restarting the service you’ll be asked for the confirmation . As per the preference you’ll then take the action.

Command line – After logging in the server via SSH executing the following command is required For restarting the Apache from the terminal:

/etc/init.d/httpd restart