This article describes how to migrate IP addresses for a HyperVM VPS by using HyperVM.
To do this, follow these steps:
In the Tree View pane, click + next to Extra, and then click Dns:
In the Switch to Another list box, select the domain. Change the IP address to either the new default IP address, or assign a different IP address if this is set to a dedicated IP address.
a. Record the IP address used for each domain to use when updating other users of the server.
b. Repeat for each domain (if there is more than one), changing the IP address to either the new default, or dedicated IP address.
The old IP entry also needs to be removed from the /etc/hosts file. All of the previous steps add the correct entry to the hosts file, but they do not remove the old entry. You can do this in one of several ways in the HyperVM Command Center:
- Edit the file directly and delete the line.
- Type the command “sed -i '/Old-IP-HERE/d' /etc/hosts”. Please note that custom DNS setups do not look like this, and require manual editing.