Web Hosting Talk







View Full Version : Restarting Apache


Jburnley
05-06-2001, 12:07 AM
Hey folks I'm messing around with a unix box trying to restart Apache. Its got CPanel3 installed. Anyone with help on restarting Apache??

Peaceman

teck
05-06-2001, 01:26 AM
do you have a dedicated server? if not, you cant restart apache. if you do have a dedicated server and cpanel is installed, webhostmanager should be installed also.

goto http://yourdomain.com:2086 and log in with root. once there, scroll to the bottom where you can restart services.

thomas830
05-06-2001, 06:23 PM
Jburnley,
if you have dedicated server you can restart apache by executing the command 'apachectl restart'

To find out where the 'apachectl' file is run this command 'locate apachectl'

and of course you have to be loged in as root

Thomas

WaffenSS
05-06-2001, 11:28 PM
In the terminal run this command
/usr/local/apache/bin/httpd restart
assuming that your apache is located in the /usr/local/ dir