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 Moderator HowtoForge Supporter ISPConfig Developer

    Which distribution do you use?
     
  3. maced0n

    maced0n New Member

    Debian lenny.
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    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 Moderator HowtoForge Supporter ISPConfig Developer

    No, that's not necessary.

    Yes, you should do that. :)
     

Share This Page