• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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