1. Please take a little time for this simple survey! Thank you for participating!
    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

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

    belac Guest

    0
     
    Nobody knows?
     
  3. webmotion

    webmotion Guest

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

    siren@ Guest

    0
     
    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

    0
     
    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.
     
Loading...