How to change IP of ISPConfig
When you move your hosting server to another ISP or even just change its IP address, you have to update all configuration regarding IP in ISPConfig. Below is my log.
-
Change distribution specific network settings.
-
Change settings of bind in
/etc/bind
one by one.perl -pi -e 's/192.168.0.1/192.168.1.1/g' /etc/bind/x
-
Change settings of Apache in
/etc/apache2/vhosts
.perl -pi -e 's/192.168.0.1/192.168.1.1/g' /etc/apache2/vhosts/Vhosts_ispconfig.conf
-
Change IP in MySQL database.
mysql -uroot -p ispconfigdb
Then execute a query.
update isp_isp_domain set domain_ip = '192.168.1.1' where domain_ip = '192.168.0.1';
-
Change IP in ISPConfig admin interface.
- Management -> Server -> Settings
All done. Note that I was changed 192.168.0.1
to 192.168.1.1
.
- sugree's blog
- 5156 reads
Post new comment