1 way to setup IP, 2 ways to change IP in Plesk
Setup/Add IP in Plesk is quite simple :
1. Sign On to Plesk Administration Site
2. Choose Server in System Menu (reside in left bar)
3. Choose IP Addresses in System
4. Choose New IP Addresses in IP Adresses management, plesk will show ‘IP Address form’ :
- leave out interface to eth0 (eth0 is a default. If there’s another interface/ethernet card in the system, choose other using a drop down menu)
- fill in an ip address and a subnet mask with to-be ip address and subnet mask
- choose an ip type, shared ip type means that one ip address can be used by one or more domain, exclusive means that one ip address can only be used by one domain
- leave out SSL certificate to a default certificate
- choose OK
Note : Plesk has a based IP already, which is set up in the installation process, do not change this, unless you need to change it. This additional IP can be use as a name server, or an alternative IP for a domain hosted in server
Change IP address :
Using Reconfigurator utility.
This utility allows you to change IPs in Plesk based and reconfigure domain settings with new IPs.
Plesk root directory usually in /usr/local/psa
$Plesk_ROOT_D/bin/reconfigurator.pl
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.
Instruction :
1 Run the command to create a template file.
2. Edit the file to set an appropriate IP mapping
3. Run the command (number 1) once again.
Map File
The map file will contain the list of your current IP addresses of the
following format, e.g:
eth0:192.168.15.01 255.255.255.0 -> eth0:192.168.15.01 255.255.255.0Edit the file with to-be IP addresses (please, note that to-be ones come on the right of an arrow sign),e g
eth0:192.168.15.01 255.255.255.0 -> eth0:your_ip_address_to_be 255.255.255.0For example:
1. $PLESK_ROOT_D/bin/reconfigurator.pl ip_map.txt
2. Modify ip_map.txt file
3. $PLESK_ROOT_D/bin/reconfigurator.pl ip_map.txt
Manual IP Change
IP Setting is saved in /etc/sysconfig/network-scripts directory with ifcfg-eth0 as a configuration file for eth0 interface. This eth0 interface configuration has been set up at centos installation
Open using vi or other text editor
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
If ip address is setup using Plesk Administration site and using same eth0 as a interface (virtual interface), the configuration file will be saved in ifcfg-eth0:1. If base ip in ifcfg-eth0, second ip with same interface will be in ifcfg-eth0:1, and third or fourth, so on will be in ifcfg-eth0:x.
Open using vi or other text editor
# vi /etc/sysconfig/network-scripts/ifcfg-eth0:1
# vi /etc/sysconfig/network-scripts/ifcfg-eth0:2
Change ip address and subnet mask with to-be ip address
Restart the Network
# /etc/init.d/network restart
Log On to Plesk Administration Site
1. Choose Server in System Menu (reside in left bar)
2. Choose IP Addresses in System
3. Choose Re-read IP in IP Addresses Management






Leave a Reply