In Plesk version 12, you can assign a dedicated IP address to a domain using either automatic or manual IP mapping. Let’s explore both options:
-
Automatic IP Mapping:
- During migration, Plesk Migrator automatically reassigns domains to IP addresses on the destination server based on the following rules:
- If a domain had a dedicated IP address on the source server, an unallocated dedicated IP address is assigned on the destination server (if available).
- If no unallocated dedicated IP addresses remain, the default shared IP address is used.
- For domains that shared the same IP address on the source server, Plesk Migrator attempts to assign them to separate shared IP addresses on the destination server.
- If insufficient shared IP addresses exist, the default shared IP address is used.
- You can also perform manual IP mapping using an IP mapping file or the migration list file.
- To use an IP mapping file:
- Create a plain text file with two columns of IP addresses (source server IPs and corresponding destination server IPs).
- Example mapping file content:
192.168.1.10 10.52.1.16 192.168.1.11 10.52.1.17 192.168.1.12 10.52.1.17 - Pass the mapping file to Plesk Migrator using the
--ip-mapping-fileoption.
- During migration, Plesk Migrator automatically reassigns domains to IP addresses on the destination server based on the following rules:
-
Manual IP Assignment:
- To switch the IP address for a domain in Plesk:
- Log into Plesk.
- Navigate to
Domains > example.com > Hosting & DNS > Hosting. - Find the IP addresses in the Webspace settings section.
- Choose an IP address from the list configured for the Plesk server.
- To switch the IP address for a domain in Plesk:
Remember, these steps apply to Plesk version 12. If you encounter any issues or need further assistance, feel free to ask!