PDA

View Full Version : Change hostname and domain of server


dayjahone
26th November 2008, 07:08
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?

Thanks.

till
26th November 2008, 13:16
Please chnage the hostname in:

/root/ispconfig/httpd/conf/httpd.conf
/home/admispconfig/ispconfig/lib/config.inc.php

dayjahone
26th November 2008, 16:36
in addition to changing it elsewhere? Or is these the only two places where I need to change it?

till
27th November 2008, 11:59
This are the only places that affect the ispconfig web interface.

dayjahone
27th November 2008, 17:29
It still tries to switch back. Where else should I change it? I changed it once in each of the files you posted.

falko
27th November 2008, 18:07
Is the value of ServerName correct in /root/ispconfig/httpd/conf/httpd.conf?

sakshale
7th December 2008, 21:36
System -> Administration -> Network
Select DNS tab and change the fully qualified hostname.
Reboot