Articles in this section

Plesk login tool returns incorrect hostname to access Plesk UI

Plesk for Windows Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • plesk login utility returns incorrect hostname:

    # plesk login
    https://test.example.com:8443/login?secret=***

  • Plesk database includes the incorrect value for pleskHttpHost parameter:

    # plesk db "select * from misc where param='pleskHttpHost';"
    +---------------+----------------------------+
    | param | val |
    +---------------+----------------------------+
    | pleskHttpHost |test.example.com:8443 |
    +---------------+----------------------------+

Cause

Incorrect hostname test.example.com was used last time to log in to Plesk by admin instead of the correct server.example.com.

Resolution

  1. Connect to the server via SSH/RDP.

  2. Execute command below to set correct value for pleskHttpHost parameter:

    # plesk bin settings --set pleskHttpHost="server.example.com:8443"

Note: In case the above command returns the same address, make sure that there is no custom URL configured.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.