Changing hostname

Discussion in 'Installation/Configuration' started by maced0n, May 25, 2010.

  1. maced0n

    maced0n New Member

    How can I change the ISPconfig3 server's hostname, which files have to be changed ?

    Thanks.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Which distribution do you use?
     
  3. maced0n

    maced0n New Member

    Debian lenny.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    You can change the hostname as follows:
    Code:
    echo server1.example.com > /etc/hostname
    /etc/init.d/hostname.sh start
     
  5. maced0n

    maced0n New Member

    Thanks for your response.

    I was thinking that something has be changed in ISPconfig conf files too.

    I guess i will also have to change the hostname in '/etc/mailname', '/etc/webalizer/webalizer.conf' and '/etc/postfix/main.cf'


    Thanks again.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    No, that's not necessary.

    Yes, you should do that. :)
     

Share This Page