• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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