Articles in this section

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

Plesk for Windows Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Symptoms

  • Unable to import website using Site Import extension at Domains > example.com > Website Importing:

    PLESK_ERROR: Error
    Connecting to the source domain
    Failed to connect to source domain by FTP: FTP credentials are incorrect: please specify valid FTP login and password.

  • Website example.com is used as Source domain name:

    site_import.png

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:

    CONFIG_TEXT: 203.0.113.2 example.com

    where 203.0.113.2 is the source server IP address.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.