Using Plesk Site Import with Site using Cloudflare Proxy IP

I am using Plesk Site Import tools that uses the domain URL/IP address, but my domain uses a Cloudflare Proxy IP.

How do I use the Plesk site import tool with a site using a Cloudflare IP proxy?

Thanks.

Add the following entry in /etc/hosts file in your Plesk server via SSH.

xx.xx.xx.xx example.com

xx.xx.xx.xx would be the actual IP address of the domain (not Cloudflare IP). That will force the plesk migrator to use the IP defined in the hosts file.

Remove the entry when the migration finishes.