#1  
Old 23rd April 2014, 14:13
zutgorak zutgorak is offline
Junior Member
 
Join Date: Apr 2014
Posts: 4
Thanks: 1
Thanked 1 Time in 1 Post
Default Hostname change

Ok, asking here for clarity on an issue.

I have an ispconfig3 running on "domain.tld"
Now, i would like to move it to be "sub.domain.tld"

Ive found some guides for it, but most have seemed to be a little old, like
HTML Code:
You will have to change the hostname in the following files -

/etc/hosts
/etc/postfix/main.cf
/home/admispconfig/ispconfig/lib/config.inc.php
/root/ispconfig/httpd/conf/httpd.conf
/etc/hostname

Then restart ISPConfig via '/etc/init.d/ispconfig_server restart'

..and then log into the ISPConfig control panel and navigate to management > server > settings and change the hostname there as well.
What I am trying to make sure of is that this still applies, or are there more things to consider when doing this?
Reply With Quote
Sponsored Links
  #2  
Old 24th April 2014, 08:12
srijan srijan is offline
HowtoForge Supporter
 
Join Date: Feb 2014
Location: New Delhi, India
Posts: 703
Thanks: 4
Thanked 91 Times in 88 Posts
Send a message via Skype™ to srijan
 
Default

Hi

For changing hostname you have to do change hostname in


/etc/hostname
/etc/hosts
/etc/mailname
/etc/postfix/main.cf

then run:

/etc/init.d/hostname restart
/etc/init.d/postfix restart

Br//
Srijan
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
How to change server name / hostname blax Installation/Configuration 1 11th October 2013 10:58
CentOS 6.3 - Change From Single Private IP To Multiple Public IP Block Unfaiir Installation/Configuration 3 14th February 2013 10:18
Issue after hostname change arspoetica Technical 6 5th February 2012 19:07
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
Change hostname in ISPConfig? crow Installation/Configuration 4 29th April 2006 23:32


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


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