• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Cant login via hostname:8443, but over ip?

FYI

Basic Pleskian
Hi,

its confusing - i got installed Plesk on my VPS (Its not ne first time at all).

When i got the first login link i got it and filled in a password for the next time to login with "admin". Be safe - i changed it after that again in the web panel.

Now i try to login with admin and password via https://this.is.my.ip/ - working.
But if i try to login on https://domain.tld:8443/ with admin and password its not working cauz my password should be wrong :eek:

Anybody know what to do?
 
First check hostname via ssh
Code:
 hostname

second change the hostname if needed to your FQDN
Code:
 plesk bin server_pref --update -hostname host.example.com

Third
Restart sw-cp-server and sw-engine services:
Code:
service sw-cp-server restart
service sw-engine restart

Fourth If the hostname was not changed, use the native SystemD utility(CentOS7/Debian8+/Ubuntu16):

Code:
 hostnamectl set-hostname host.example.com

This for hostname
you may need to restart your server

Now lets move to login via hostname

Code:
plesk bin admin --enable-access-domain "server.example.com"

In this case, if there is a website with the specified name, it will become inaccessible because Plesk panel will be shown.

Code:
 plesk bin admin --enable-access-domain ""
 
Back
Top