Add to Favourites Add to Favourites    Print this Article Print this Article

How can I do mass IP addresses change in Plesk Control Panel ?

There is the special utility in Plesk that allows you to change IPs in Plesk base and reconfigure domain settings with new IPs.

This utility is available in the /usr/local/psa/bin directory.

# /usr/local/psa/bin/
Plesk reconfigurator - utility to change IP addresses used by
Plesk Server Administrator


If doesn't exists - template will be created, otherwise
it will be used to map IP addresses.

The new IP addresses must NOT exist in Server > IP Addresses list in Plesk control panel before replacement, they may be added on system level only. If IP addresses do not exist in the system, the utility will add new IPs to the system as well.

If you have already added new IP addresses into Plesk, please deassign it from all the domains/clients, then remove them from Plesk.

First, you have to run the command to create a template file. Then, edit the file to set an appropriate IP mapping and run the command once again. The map file will contain the list of your current IP addresses of the following format:

eth0: -> eth0:
eth0: -> eth0:
You'll need to edit the file with to-be IP addresses (please, note that to-be ones come on the right of an arrow sign):

eth0: -> eth0:new_ip_address

For example:
  1. Run
    /usr/local/psa/bin/ ip_map.txt

  2. Modify created ip_map.txt file. If you made a misprint or corrupted the file, just remove it and start from 1. again.

  3. Run again
    /usr/local/psa/bin/ ip_map.txt
Additional information
If new IP addresses exist at Server -> IP Addresses you should remove them from Plesk database, IP addresses are stored in Plesk table psa.IP_Addresses.

Was this answer helpful?

Also Read