apache fails after changing the hostname

totalufo

Well-Known Member
Jan 17, 2002
160
0
316
I used the change hostname feature in web host manager to change my hostname. Restarted apache and bind and it worked fine. After a couple of hours, I got an email saying that apache had failed and attempting to restar. It restarts with no problem.

So, I read in another post to reboot the machine after you change a server name so I did that.

I am still getting an email telling me apache has failed. Anyone have an idea what to do? I've tailed the messages and error log but nothing in connection.

Thanks!
Jason
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
The base hostname needs to be resolvable or apache will bite the dust or at least report problems.

Can you resolve the new hostname from the command line on the server in question?
 

totalufo

Well-Known Member
Jan 17, 2002
160
0
316
Yes. I can resolve it. I did not change the hostname in the server setup section in web host manager however. Should I change that?
 
B

bdraco

Guest
[quote:f4ba9081d5][i:f4ba9081d5]Originally posted by totalufo[/i:f4ba9081d5]

Yes. I can resolve it. I did not change the hostname in the server setup section in web host manager however. Should I change that?[/quote:f4ba9081d5]

Yes. you might need to edit the ServerName in httpd.conf as well..