localhost on apache
i am trying to run apache on my computer..
the service is running but when i do http://localhost/ on it it says could not contact localhost.. i have tried even http://127.0.0.1/ but still nothing... i am using mozilla and RH8.. do i need to do anything else like configure http server.. i have put a name for the server.. regards |
it is automaticlly configured on localhost, hmm, are you totally sure that apache is starte corectly?
WiZaC |
ys i have checked and also done service httpd restart..
but the localhost is till not connecting... |
I can almost gaurantee this is something wrong with your http.conf file.
What does your ServerName directive say? If you just want apache for local development it should look like: ServerName 127.0.0.1 or: ServerName localhost |
i had set the servername as jimesh
does servername really matter... i have seen machines which do not have server names at all in them but their http functions fine.. regardless, i will set my servername as localhost and get back to u people... :o Regards |
>i had set the servername as jimesh
If that is your hostname, and your /etc/hosts file is properly configured it should work...but in that case you would type http://jimesh/ in a browser rather than localhost. |
All times are GMT -5. The time now is 07:39 PM. |