1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

How to change hostname?

Discussion in 'Plesk for Windows - 8.x and Older' started by belac, Feb 6, 2004.

  1. belac

    belac Guest


    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.
  2. belac

    belac Guest

    Nobody knows?
  3. webmotion

    webmotion Guest

    change your DNS "hostname" record to match whatever....
  4. siren@

    siren@ Guest

    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.
  5. BillWill

    BillWill Guest

    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.