Changing hostname from to

Discussion in 'Installation/Configuration' started by ginner159, Jun 27, 2013.

  1. ginner159

    ginner159 New Member

    hi all and thanks for all the help!!

    i have a vps hosted using a solusVM which is running ispconfig 3 and debian 6.
    When i first got it i just set the HOSTNAME as but now ive purchased a small 128mb server which im using as a which i setup with that hostname and have got it connected successfully to the first server.

    What im wanting to know is, what do i need to change so the hostname is and ensure that postfix ispconfig dns etc still works and the other server can still connect (dont mind reinstalling the ns2 as its just a nameserver if needed)

    I followed the setup tutorial here (debian 6 perfect server) initially then this(roll ya own dns) when adding my seccond server
  2. id10t

    id10t Member

    Which hostname(s) did you change/set? The one in /etc/hostname or in the mail configs, web address, etc? Or is it your DNS servers only?
  3. ginner159

    ginner159 New Member

    I haven't changed it yet as I've been waiting for a reply on what to do. And it's for my main server
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The hostname has to be cahnge din these files:


    then run:

    /etc/init.d/hostname restart
    /etc/init.d/postfix restart
  5. Airbag888

    Airbag888 New Member

    On Debian Wheezy I had to do /etc/init.d/ start

    Everything else worked :)

Share This Page