how can i change my host mane

Discussion in 'Installation/Configuration' started by mrh, Apr 28, 2006.

  1. mrh

    mrh New Member

    how can i change my host name

    i configured a debian sarge 3.1 on a server with the manual and i
    installed ispconfig on it.
    now i have to chenge the host name that i inserted while installing
    the debian sarge and ispconfig...
    would you be kind to help about this...? i mean which files i have to change?

    my problem is this:
    i'm using server1.net domain with ssl ... now if i try http://IP:81 or http://IP/webmail it will redirect me to https://server1.net:81

    i need to change "server1.net"

    mercy
     
    Last edited: Apr 28, 2006
  2. falko

    falko Super Moderator Howtoforge Staff

    You must edit /etc/hostname, /etc/hosts, /home/admispconfig/ispconfig/lib/config.inc.php and /root/ispconfig/httpd/conf/httpd.conf and restart ISPConfig:
    Code:
    /etc/init.d/ispconfig_server restart
     
  3. mrh

    mrh New Member

    greate!!
    i do it in some changes in locations...
    mercy

    one more question...

    i added a site for a domain like domain.net as this:
    Hostname: domain
    Domain: net

    i added a user as:
    User Uname Email Admin CatchAll
    web4_user1 user1 user1 1 0

    now i go to https://domain.net:81/webmail and enter my email and password but get wrong user name or password errer...
     
  4. falko

    falko Super Moderator Howtoforge Staff

    If you want to use example.com, you would leave the hostname empty and enter example.com as domain. If you want to use www.example.com, you enter www as hostname and example.com as domain. If you want ot use both, you enter www as hostname and example.com as domain and add example.com as Co-Domain on the Co-Domains tab.

    How did you log in? With the username or with the email address?
     
  5. crow

    crow New Member

    Wrong topic sorry :)
     
    Last edited: Apr 29, 2006

Share This Page