I have seen TONS of threads in forums asking how to restart the httpd service, and sometimes they only post one method. In this article I will tell you how to start it, restart it, or stop the httpd service with two different ways. You will need SSH root access.
Difficulty level: Easy
1. Establish a SSH connection and login as a root user.
The commands are as follows:
/etc/init.d/httpd start OR service httpd start
/etc/init.d/httpd restart OR service httpd restart
/etc/init.d/httpd stop OR service httpd stop
2. Execute any of the needed commands, if one does not work, try the other one.
And that is all there is to it! It will now start/restart/stop, depending on what you needed!
Any questions, comments, suggestions, problems, even just to say hi; please do not hesitate to contact me!
Owner of www.Juapo2Services.com
Looking for quality Linux Web Hosting? Try out Arvixe web hosting and you won’t be disappointed.