Can I restart my Apache server?
Q. Can I restart my Apache server?
Ans : Yes, you can restart your Apache server (VPS Hosting) without affecting or killing other existing processes on your VPS. For this you should use the graceful restart command.
COMMAND : service httpd graceful.
Graceful restart command will not kill any existing apache processes.
If you wish to kill the existing http processes and restart your apache server then use the following command :-
service httpd stop
service httpd startssl
Apache can also be restarted, along with any other service, from WHM. Simply login, and select the service you wish to restart under the “restart services” section.