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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th September 2010, 10:06
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
Default Need to change the hostname name of server

I need to change the hostname of one of my servers runnin Debian Lenny and ISPconfig3.

Is it safe to do this on a server that has already some websites and email's on it?
Do I only need to run:
Code:
 
/etc/init.d/hostname.sh stop
echo new.servername.tld > /etc/hostname
/etc/init.d/hostname.sh start
and set the new hostname in the /etc/hosts file?

Or do I need to change more things?
Setting the reverse DNS will be done by mij ISP.
__________________
Never execute code written on a Friday or a Monday.

Last edited by edge; 29th September 2010 at 10:09.
Reply With Quote
Sponsored Links
  #2  
Old 29th September 2010, 10:23
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,009
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Quote:
Is it safe to do this on a server that has already some websites and email's on it?
Yes, should not cause any problems.

Quote:
Or do I need to change more things?
Check also the /etc/postfix/main.cf file for the hostname and the /etc/mailname file.

Is this a multi- or singleserver setup?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following 2 Users Say Thank You to till For This Useful Post:
edge (29th September 2010), finn (17th November 2010)
  #3  
Old 29th September 2010, 10:45
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
Default

It's a singleserver setup.
What about Postfix and Courier? Do I need to change anything in here?
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #4  
Old 30th September 2010, 14:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

Quote:
Originally Posted by edge View Post
What about Postfix and Courier? Do I need to change anything in here?
For Postfix, see Till's post. For Courier, there shouldn't be anything to change.
__________________
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
The Following 2 Users Say Thank You to falko For This Useful Post:
edge (30th September 2010), finn (17th November 2010)
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
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 17:59
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 14:58
problem with mail server setup kentor HOWTO-Related Questions 27 16th July 2009 16:22
mail delivered in mbox patfee Installation/Configuration 8 11th December 2007 14:58
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 17:11


All times are GMT +2. The time now is 14:29.


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