Plesk

Cannot import site to Plesk using Site Import extension: FTP credentials are incorrect: please specify valid FTP login and password

Symptoms

Cause

The same domain exists on the destination server and the Site Import extension resolves it locally, so the connection does not go to the source server and instead FTP credentials are checked on the local server.

Resolution

  1. Connect to the server via SSH/RDP.

  2. Open /etc/hosts file using any text editor (e.g. vi-editor).

  3. Resolve domain to the source server by adding the following line to it:

    203.0.113.2 example.com

    where 203.0.113.2 is the source server IP address.