The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

apache fails after changing the hostname

Discussion in 'EasyApache' started by totalufo, Mar 30, 2002.

  1. totalufo

    totalufo Well-Known Member

    Joined:
    Jan 17, 2002
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    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?
     
  3. totalufo

    totalufo Well-Known Member

    Joined:
    Jan 17, 2002
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    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?
     
  4. bdraco

    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..
     
Loading...

Share This Page