No announcement yet.

How to replace IP addresses in Plesk Panel?

  • Filter
  • Time
  • Show
Clear All
new posts

  • How to replace IP addresses in Plesk Panel?


    The utility in plesk is used to replace IP addresses assigned to objects (domains/clients/resellers) in the Plesk Panel database and to reconfigure objects settings with the new IPs:

    # /usr/local/psa/bin/

    Plesk reconfigurator - utility to change IP addresses used by
    Plesk Server Administrator

    /usr/local/psa/bin/ <map_file>

    If <map_file> doesn't exists, a template will be created. Otherwise,
    it will be used to map IP addresses.

    Follow these steps to perform the IP addresses replacement:

    1. Make sure the new IP addresses are not registered in Plesk Panel on the Server > IP Addresses page. Otherwise, remove them from Plesk Panel before proceeding further.

    2. Run the utility to create the mapping template file:
    # /usr/local/psa/bin/

    Then, edit this file and set the appropriate IP mapping. Map file matches in the full list of the currently configured IP addresses with the new ones in the following format:

    eth0: -> eth0:
    eth0: -> eth0:

    Edit the file and replace an IP address in the right part of a string with one from the new set:
    eth0: -> eth0:new_ip_address

    3. Once the appropriate arrangement is given in the mapping file, run again:
    # /usr/local/psa/bin/

    It will read the mapping file and perform the replacement according to its content.


    Nelson S.