Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th November 2008, 06:08
dayjahone dayjahone is offline
Senior Member
 
Join Date: Jan 2007
Posts: 417
Thanks: 31
Thanked 0 Times in 0 Posts
Default Change hostname and domain of server

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.
Reply With Quote
Sponsored Links
  #2  
Old 26th November 2008, 12:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Please chnage the hostname in:

/root/ispconfig/httpd/conf/httpd.conf
/home/admispconfig/ispconfig/lib/config.inc.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 26th November 2008, 15:36
dayjahone dayjahone is offline
Senior Member
 
Join Date: Jan 2007
Posts: 417
Thanks: 31
Thanked 0 Times in 0 Posts
Default

in addition to changing it elsewhere? Or is these the only two places where I need to change it?
Reply With Quote
  #4  
Old 27th November 2008, 10:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

This are the only places that affect the ispconfig web interface.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 27th November 2008, 16:29
dayjahone dayjahone is offline
Senior Member
 
Join Date: Jan 2007
Posts: 417
Thanks: 31
Thanked 0 Times in 0 Posts
Default

It still tries to switch back. Where else should I change it? I changed it once in each of the files you posted.
Reply With Quote
  #6  
Old 27th November 2008, 17:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Is the value of ServerName correct in /root/ispconfig/httpd/conf/httpd.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 7th December 2008, 20:36
sakshale sakshale is offline
Junior Member
 
Join Date: Dec 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Talking How to change hostname and domain in fedora 10

System -> Administration -> Network
Select DNS tab and change the fully qualified hostname.
Reboot
Reply With Quote
  #8  
Old 19th April 2010, 17:43
DrJohn DrJohn is offline
Member
 
Join Date: Aug 2007
Location: Portland, OR, USA
Posts: 66
Thanks: 8
Thanked 2 Times in 2 Posts
 
Default

If you're handling email then you also should change /etc/mailname; in my case ISPConfig / postfix attempted and failed to deliver to users@the old hostname until I changed it in this file.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CentoS doesn't send the emails vaio1 Installation/Configuration 18 5th November 2008 17:51
FTP cannot open remote folder!?! andysm849 Server Operation 23 16th October 2008 23:34
Can't start apache Musty Server Operation 12 9th March 2008 13:58
Problems with Postfix Mysql Courier PatrickAdrichem Installation/Configuration 3 13th April 2007 15:44
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01


All times are GMT +2. The time now is 07:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.