• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Changing IPs

E

epak

Guest
Hi,

We use PXE boot loading to install the Operation system and control panel onto new servers. We want to use plesk as well. What would be the steps to change the ips on the new server. Can this be done manually? What files would need to be edited?


Thanks.
 
What distribution are you using? Redhat/Fedora/Centos linux servers store the primary IP configuration in /etc/sysconfig/network-scripts/ifcfg-eth0.

Look at that file and you will see how the IP data is stored. Changing it can be accomplished with a simple bash or perl script.

Rick
 
Hi,

thanks for the reply. I understand how to change the OS IPs. But I was wondering what files that Plesk stores IP information in. For example, cPanel uses a file called /etc/wwwacct which contains IP information for creating new accounts.


Thanks
 
Plesk has an IP mapping utility, the reconfigurator. To use it:

/usr/local/psa/bin reconfigurator.pl map_file

This will create a map file of all of the IPs on the box. Edit this file and then run the command again. It will make all replacements for you.
 
Back
Top