• 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.

How to change hostname?

B

belac

Guest
Hello,

I installed 6.5 for windows and entered a bogus hostname after install to get into the admin. I was suprised to find no way to update it. Does anyone know how I can change the hostname once it has been entered?

Thanks in advance.
 
You have to edit it in three places. There will be a reference to it in the misc table in the database, the dns records table, and then you have to edit it in the bind files located at \dns\ in your plesk directory.
 
command for changing hostname

c:\program files\swsoft\plesk\mysql\bin\mysql -u admin -p

mysql> update psa.misc set val='www.domainname.com' where param='fullhostname';


The path information and commands to login are listed in the first line and the commands for performing the action within the "misc" table are in the second line. Please note that you will still need to edit the binary file and the second table but you use the format for the second table change.
 
Back
Top