To ensure that the domains migrated from the source server are
operational on the destination, it is necessary to change their
configuration so that they use the IP addresses present on the
destination server. This procedure is called IP mapping, and it can be
performed either automatically or manually.
Ideally, you should have a shared IP address on the destination server
for every shared IP address on the source server. The same goes for
dedicated IP addresses.
Once the migration is finished, you can review the IP addresses assigned
by the Migrator and re-assign them, as necessary.
Automatic IP Mapping
By default, IP mapping is performed automatically during the course of a
migration (no user input required). Plesk Migrator attempts to re-assign
the domains being migrated to the IP addresses on the destination server
according to the following rules:
- An unallocated dedicated IP address is assigned to domains that were
assigned a dedicated IP address on the source server, if possible.
Otherwise (for example, if there are no unallocated dedicated IP
addresses remaining on the destination server), the default shared IP
address is used instead. - Plesk Migrator attempts to assign all domains that used the same
shared IP address on the source server to a separate shared IP
address on the destination server, if possible. Otherwise (for
example, if there are fewer shared IP addresses on the destination
server than on the source server), the default shared IP address is
used instead.
IP mapping can also be performed manually, either with the help of the
IP mapping file, or the migration list file.
Note: It is possible to combine different ways of mapping. For example, you
can specify common mapping rules using the migration list, and then
set specific addresses for some particular domains using the mapping
file.
IP Mapping Using the Mapping File
An IP mapping file is a simple plain text file containing two columns of
IP addresses separated by the whitespace character. The IP addresses in
the left column are those present on the source server, and they are
matched to the corresponding IP addresses from the destination server in
the right column. The file should contain nothing except the IP
addresses (no comments and such). Blank lines are allowed.
Here are the contents of a sample IP mapping file:
192.168.1.10 10.52.1.16
192.168.1.11 10.52.1.17
192.168.1.12 10.52.1.17
In this example, domains using the IP address 192.168.1.10
will be
assigned the IP address 10.52.1.16
. Those using…