PDA

View Full Version : Changing ISPConfig IP address ?


avanmessen
10th September 2008, 21:22
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:

falko
11th September 2008, 15:18
Take a look here: http://www.howtoforge.com/forums/showthread.php?t=2760

avanmessen
12th September 2008, 13:49
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 ?

:o

falko
12th September 2008, 18:21
Is it required to modify the SQL database too then ?
Is it required to modify /etc/apache2/vhosts/Vhosts_ispconfig.conf ?

:o

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. :)