Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th April 2011, 16:37
Mannekino Mannekino is offline
Junior Member
 
Join Date: Nov 2010
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default Changing IP address of ISPConfig 3 installation

This Wednesday I am going to move my server to another data center. I will also be receiving a new IP address. I have one physical server with VMware on it and one VPS with and ISPConfig installation running on Ubuntu.

I would like to know if there are any specific files aside from /etc/hosts and /etc/network/interfaces that I need modify because of the IP address change. Or will it suffice to simply change the IP address in the "Server Config" section of the ISPConfig web interface?

Thank you for your help.
Reply With Quote
Sponsored Links
  #2  
Old 12th April 2011, 10:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

You will have to change the IP address in:

/etc/hosts
/etc/network/interfaces
/etc/resolv.conf

In ISPConfig, change the IP address in the server settings and if you added it under system > server IP, then you will have to chnage it there too. If the IP has been selected in any websites, then go to tehse websites, ensure that the new IP is selected and click on save (even if the new IP shows up, its required to click on save once).
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Mannekino (13th April 2011)
  #3  
Old 12th April 2011, 11:41
Mannekino Mannekino is offline
Junior Member
 
Join Date: Nov 2010
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Thanks for the help.
Reply With Quote
  #4  
Old 3rd December 2013, 07:00
sumfvm sumfvm is offline
HowtoForge Supporter
 
Join Date: Sep 2011
Location: Strasbourg, France
Posts: 25
Thanks: 2
Thanked 1 Time in 1 Post
Default

Sorry for the up but on my side (ISPconfig 3.0.5.3) I had to execute these two commands:

Code:
perl -pi -e 's/old-ip/new-ip/g' /etc/bind/*
and in the next SQL query on dbispconfig database:

Code:
update dns_rr set data = 'new-ip' where data = 'old-ip';
If I don't execute this last SQL query the bind domain configuration is not taking in account in ISPConfig even if the Bind entries are modified...
Reply With Quote
  #5  
Old 17th January 2014, 21:04
sergio.morales sergio.morales is offline
Senior Member
 
Join Date: Apr 2008
Posts: 107
Thanks: 3
Thanked 2 Times in 2 Posts
 
Default Suppose I screwed up

Suppose I screwed up and changed the IP on the server, updated /etc/hosts and /etc/network/interfaces, but FORGOT to update the IP address inside of ISPCONFIG?
How can I correct this folly?

sERGE
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SquirrelMail login not working glenneh Installation/Configuration 13 9th April 2011 20:01
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 22:47
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 11:47
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46
Changing values on ISPConfig installation Luciano Installation/Configuration 4 16th August 2005 23:32


All times are GMT +2. The time now is 13:53.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.