LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   httpd problems (https://www.linuxquestions.org/questions/linux-software-2/httpd-problems-329520/)

iamthe 06-02-2005 07:12 AM

httpd problems
 
ok i gotta problem
i installed FC3 to my server (dual opteron 246 0and here on my network i had the httpd upand running fine. when i put the box up at my isp, the service wotn start and i cant figure out why. all that has changed is that i wnet form a dhcp environment to a stati ip environment where i ahve mulitple ip's. so my ifcfg stuff cahgned bit. basically i made ifcfg-eth0 static and added ifcfg-eth0:1 and :2 ...etc to get all my ip's assinged. i was able to assing a default gatewya but i cant rember how, thoug i beleive it too was in the netwrok-scripts folder. i canged Listen=*80 to 199.44.81.37:80 and the name of hte server to the same thing, however the rserver refuses to start. the only thing i havent assinged is DNS simply because i dont know how. is that necassary to run the server even though no domain names are directed to it? and how do i do that if that is the problem?

zeos 06-02-2005 09:46 AM

Have a look @ this thread
http://www.linuxquestions.org/questi...=mod_unique_id


Look towards the end for the resolution...but essentially, if your server is loading mod_unique_id it will have to be able to resolve it's hostname either via dns or hosts. -That'd be my guess without seeing your logfiles...

iamthe 06-02-2005 10:07 AM

right on man. you nailed it on the head. i treied editing the hosts file byt adding
199.44.81.37 localhost.local localsomething
(it was the same as teh 127.0.0.1 line only wiht the new ip)
what would i do to this file to make the server run, or is this only there if i do ahve a domain name pointed at that ip?

zeos 06-02-2005 11:28 AM

It has to be able to resolve the "ServerName" value set in your httpd.conf. so you'd need an entry in hosts like:

199.44.81.37 myhostname.com

obviously replace myhostname.com to whatever you've got your servername directive in apache set to....

iamthe 06-02-2005 02:36 PM

OMG I TOTALY FIXED IT BY INSTALLING IIS


i amde that up

you fixed it again zeos.

thnx <3 (that is a hart for you, that i amde at skool 2day)


All times are GMT -5. The time now is 11:08 PM.