Changing ISPConfig IP address ?

Discussion in 'Tips/Tricks/Mods' started by avanmessen, Sep 10, 2008.

  1. avanmessen

    avanmessen New Member

    Hello,

    Having looked through some related posts I keep
    wondering, feeling like a total noob, would anyone
    be so kind as to provide a step by step procedure
    to change ISPConfig' s IP address ?

    I actually run it as a VMware virtual machine on a
    host only network (so 1:1 NAT with host machine)
    with the host machine acting as a gateway to the
    Internet.

    So ISPConfig has a private address set-up right now.

    I need to change my setup to bridged networking and
    thus, use a public IP for ISPConfig.

    How should I go about this ?

    :confused:
     
  2. falko

    falko Super Moderator ISPConfig Developer

  3. avanmessen

    avanmessen New Member

    So, clearly :

    • Change the IP of the server (system-config-network)
    • Change the IP in /root/ispconfig/httpd/conf/httpd.conf
    • Change the IP in /etc/postfix/main.cf
    • Change the IP in /etc/proftpd.conf
    • Change the IP in the includes too
    • Change the IP through ISPConfig interface
    • Re-save the hosted sites with the new IP

    Is it required to modify the SQL database too then ?
    Is it required to modify /etc/apache2/vhosts/Vhosts_ispconfig.conf ?

    :eek:
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Not if you modify the IP address for each web site in ISPConfig. ISPConfig will then rewrite Vhosts_ispconfig.conf with the new IP address. :)
     

Share This Page