Change hostname and domain of server

Discussion in 'Installation/Configuration' started by dayjahone, Nov 26, 2008.

  1. dayjahone

    dayjahone Member

    So, I did the perfect setup...on ubuntu feisty...everything is set up and working fine; however, I bought an ssl certificate which is different from the info I used to set up the server...which is fine because port 81 works regardless of which domain. The problem is /mailuser tends to want to go back to the server's hostname and domain and gives the self-signed certificate error. So, my question: is there a simple way to change the server's hostname and domain? And will it affect ispconfig and everything else? If not, is there a way to make it so mailuser doesn't keep trying to use the server's domain?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please chnage the hostname in:

  3. dayjahone

    dayjahone Member

    in addition to changing it elsewhere? Or is these the only two places where I need to change it?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This are the only places that affect the ispconfig web interface.
  5. dayjahone

    dayjahone Member

    It still tries to switch back. Where else should I change it? I changed it once in each of the files you posted.
  6. falko

    falko Super Moderator ISPConfig Developer

    Is the value of ServerName correct in /root/ispconfig/httpd/conf/httpd.conf?
  7. sakshale

    sakshale New Member

    How to change hostname and domain in fedora 10

    System -> Administration -> Network
    Select DNS tab and change the fully qualified hostname.
  8. DrJohn

    DrJohn Member

    If you're handling email then you also should change /etc/mailname; in my case ISPConfig / postfix attempted and failed to deliver to [email protected] old hostname until I changed it in this file.

Share This Page