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.

Hostname Change

Discussion in 'General Discussion' started by wilfried, May 10, 2006.

  1. wilfried

    wilfried Active Member

    Joined:
    Aug 23, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Hi

    I changed my hostname via WHM.
    It did not update the mailserver greeting however.
    So it still claims to be the old host name as opposed to the new name.
    Where is that changed?
     
  2. destr0yr

    destr0yr Well-Known Member

    Joined:
    May 4, 2004
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Kelowna, BC.
    Try: /etc/init.d/exim restart.

    Verify your /etc/hosts is setup properly and grep ^HOST /etc/wwwacct.conf should spit out the hostname you set. Make sure the hostname is a FQDN and does not start with a number, ftp, mail, or www.

    Try running hostname on the machine to make sure its setup properly. You can try host `hostname` to be sure it resolves. If you're running RH/CentOS/FC, make sure its setup properly in /etc/sysconfig/network.
     
  3. wilfried

    wilfried Active Member

    Joined:
    Aug 23, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Thanks

    Restarting exim did the trick...
    I thought the cPanel host updater did it but I guess not!
     
Loading...

Share This Page