Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache errors

Status
Not open for further replies.
Mar 25, 2002
14
0
0
US
Hi when I try to start apache i get the following error:

Starting httpd: Cannot resolve host name http --- exiting!

could anyone tell me how to fix this error and also what has caused it, as you can probably tell I'm new to linux so any help you can give would be appreciated.

also is typing httpd the correct way of starting the apache server?

thanks.
 
I've also tried to connect to the webserver from the localhost but it says connection refused......don't know if this helps........................
 
You may need to edit the servername directive on /etc/httpd/conf/httpd.conf file and restart with
/etc/rc.d/rc2.d/K15httpd restart
Hope it help
 
depending on your distro, you might need to use "apachectl restart" to restart httpd.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top