how to change server name

Discussion in 'Installation/Configuration' started by lexcomputer, Oct 12, 2005.

  1. lexcomputer

    lexcomputer New Member

    Could anyone tell me how to change my server name

    I got the result after run telnet 25

    220 ESMTP Postfix

    Then I would like to change from to How can I make change?

    Thank you.
  2. falko

    falko Super Moderator Howtoforge Staff

    echo > /etc/hostname
    /bin/hostname -F /etc/hostname
    Also change your hostname in /etc/postfix/ (myhostname and mydomain). Don't forget to restart Postfix.

Share This Page