How to change Domain Name

Discussion in 'Installation/Configuration' started by kreya, Jun 12, 2007.

  1. kreya

    kreya New Member

    Hi,
    i would like to change the my domain name and host name in ispconfig box
    from server1.mydomain.com
    to server1.xyz.com

    how can i do this. pls provide the path
    i am pointing ispconfig's DNS servers to my ISP DNS servers ( i am not running my own dns server)
    what changes should i make in ispconfig.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Change the hostname under Management > Server > Settings and also in /home/admispconfig/ispconfig/lib/config.inc.php and /root/ispconfig/httpd/conf/httpd.conf (if it's in there).
    You might also have to change the hostname in /etc/hosts and in the Postfix configuration.
    Which distribution do you use?
     
  3. kreya

    kreya New Member

    i use fedora6.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check the hostname on the shell with the folowing command:

    hostname -f

    if the hostname is not correct, create a file /etc/hostname which contains your new hostname, then run the command:

    hostname -F /etc/hostname
     
  5. kreya

    kreya New Member

    it worked

    thanks a lot
     
  6. falko

    falko Super Moderator Howtoforge Staff

    I think that for Fedora, you must set the hostname in /etc/sysconfig/network.
     

Share This Page