Setup IP in Plesk is 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. Choose another using a drop down menu when there’s another interface/ethernet card in the system)
- fill in the IP address and its subnet mask with new IP address and subnet mask
- choose the IP type, Shared IP means that IP address for one or more domain, exclusive means that one ip address for one domain only
- leave out SSL certificate to a default certificate
- choose OK
Note : Plesk has a based IP from firs-time installation, do not change this, unless you need to change it. You can use additional IPs for name servers, or alternative IPs for domains
Change IP address :
Reconfigurator utility.
This utility allows you to change IPs in Plesk, 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 before replacemen, they only on system level. The utility will add new IPs to the system when IP addresses do not exist in the system
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 a list of your current IP addresses in
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 new IP addresses (please note that new ones on the right of the 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 Settings is saved in /etc/sysconfig/network-scripts directory with ifcfg-eth0 as a configuration file for eth0 interface. CentOS installation did setup the configuration file
Open the configuration file with vi or other text editor
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
The configuration file will be saved in ifcfg-eth0:1 when ip address is setup with Plesk Administration site. The configuration file will use same eth0 as interface (virtual interface). Next IPs with same interface will besaved in ifcfg-eth0:1 or 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
Related posts:





0 Trackbacks
Trackback URL for this post:
http://pixert.com/setup-change-ip-plesk/trackback/
0 Pings