Start / Stop / Restart Apache Web Server Via SSH

Start / Stop / Restart Apache Web Server Via SSH

How do I start / stop or restart Apache web sever via SSH (secure shell) under Linux or UNIX operating systems?

Once logged in switch to the root user and entering the root password:

To view status:
service httpd status

To restart server:
service httpd restart

To start server:
service httpd start

To stop server:
service httpd stop

If you have any query or suggestions, feel free to ask me via the comment section below.

1 Comment

  • The above information on Start / Stop / Restart Apache Web Server Via SSH is very good. I have came across many relevant service provider like India access and hostasp. One can visit there for best service offers and deals

Leave a Reply