Cannot access Plesk login page

After the installation / upgrade of Plesk you can access the Plesk Control Panel via URL: or

but probably you get redirected to


This is caused by a misconfiguration of your hostname on your server.

You can solve this by running the following command as root:

# /usr/share/plesk-billing/update-hostname –new-hostname <Your server IP>

# example:
# /usr/share/plesk-billing/update-hostname –new-hostname

# restart plesk:
# /etc/init.d/psa restart