Migrate Plesk IP’s to New Plesk server

When Migrating from an old dedicated server to a new server, you can ask your hosting provider to migrate the data and the IP’s. Here is the strategy to move them.

  1. ssh to the old and new server.
  2. One the old server, change the following:

Edit /etc/sysconfig/network-scripts/ifcfg-eth0

# cd /etc/sysconfig/network-scripts
# nano ifcfg-eth0
# =============================================================
# Network Interface Script generated by BareMetal
# =============================================================
DEVICE=eth0
BOOTPROTO=STATIC
ONBOOT=yes
IPADDR=216.xx.xxx.xx
NETMASK=255.255.255.0
HWADDR=6C:xx:xx:xx:xx:xx

[stextbox id=”info”]* IP and Mac changed to xx. Yours will have the real IP and mac address.[/stextbox]

# service network restart

Change the primary IP – ifcfg-eth0 on the old server to a temp one – one assigned for a place holder so you can access the panel.

3. Do the same on the new server, adding the IP from the old server to /etc/sysconfig/network-scripts/ifcfg-eth0
Edit /etc/sysconfig/network-scripts/ifcfg-eth0

# cd /etc/sysconfig/network-scripts
# nano ifcfg-eth0
# =============================================================
# Network Interface Script generated by BareMetal
# =============================================================
DEVICE=eth0
BOOTPROTO=STATIC
ONBOOT=yes
IPADDR=216.xx.xxx.xx
NETMASK=255.255.255.0
HWADDR=6C:xx:xx:xx:xx:xx
# service network restart

Now the old server has a temp IP and the new server has the old server primary IP.

Login to plesk on the old server and assign the new temp IP to all the domains. Remove the other secondary IP’s from plesk.

Login to plesk on the new server. Add the secondary IP’s from the old server. Assign the IP’s to the domains according to their DNS records.

Remove any IP’s on the new panel that were assigned, but will not be used.

Leave a Comment