• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Can't login - edit Plesk via SSH

D

DedicatedPros

Guest
I just got a server with Plesk on it, and out of all the things I did, I forgot the setup an A record as for my server's hostname after having changed the server hostname in Plesk. Now I cannot login as a blank page shows up when I try :(

Is there anyway I can edit the hostname of the server from SSH?
 
Login to the Plesk database:

#mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

The entry is located here:
Code:
[B]mysql> select * from misc where param="FullHostName";[/B]
+--------------+-----------------------------+
| param        | val                         |
+--------------+-----------------------------+
| FullHostName | hostname.domain.tld         |
+--------------+-----------------------------+

Try running an update query like:

mysql> update misc set val='new.domain.tld' where param='FullHostName';
 
Last edited by a moderator:
That fix worked like a charm, but changing the hostname did not solve the issue.

I still keep getting a blank page whenever I go to my Plesk login page, I've enabled display_errors in /usr/local/psa/admin/conf/php.ini, restarted Plesk, and still nothing (no errors show) :(

Could I maybe reinstall Plesk without damaging my databases/current server settings?
 
Are you able to access the control panel by IP address? I mean via: "https://<IP>:8443"? If so, try this:

1) Edit /etc/hosts with:
Code:
[b]<IP address> plesk.domain.tld plesk[/b]

2) Edit /etc/sysconfig/network:
Code:
[b]HOSTNAME plesk.domain.tld[/b]

3) Run:
Code:
[b]#hostname plesk.domain.tld
#/etc/init.d/network restart 
#/etc/init.d/psa restart[/b]
 
The hostname is now changed successfully but I still get a blank page when trying to access Plesk :(
 
Back
Top