• 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

Change hostname to FQDN

DotanC

New Pleskian
When setting up Plesk there were no websites being hosted on the server, so when prompted for 'hostname' I entered the server's hostname as per the 'hostname' bash command: 'someHost'. Now, when redirecting from http://1.2.3.4:8443 to https://1.2.3.4:8443 (i.e. from http to https) Plesk sends the user to http://someHost:8443 which, being not a FQDN, is not valid.

I have now configured the site someSite.com to be served by the server. How can I change the Plesk 'hostname' to the FQDN of the site hosted? I have found the database table 'misc', where param='FullHostName', however that is not the proper place.
 
# /usr/local/psa/bin/server_pref --update -hostname host.example.com
 
Back
Top