Current time: 11-29-2024, 06:21 PM Hello There, Guest! (LoginRegister)


Post Reply 
[Solved] Change SERVER_HOSTNAME
Author Message
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #1
[Solved] Change SERVER_HOSTNAME
Hi all,

after I moved my complete ispCP installation to another system, I want to change the SERVER_HOSTNAME and BASE_SERVER_VHOST (both in /etc/ispcp/ispcp.conf).
Is there anything to pay attention on when doing this? Can I just change them and restart the ispcp-daemon?

Greetings
FeG
(This post was last modified: 11-17-2007 07:11 AM by FeG.)
11-17-2007 05:25 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Change SERVER_HOSTNAME
Changing in ispcp.conf does not do anything important.

the base_sever_host you have to change in the 00_master (apache config), the server_name you maybe have to change something in main.cf of postfix.

Please make copies of the changed files to /etc/ispcp/postix(or apache2)/working so that the changes are not recovered with the next ispcp-update-run...

/J
11-17-2007 05:40 AM
Visit this user's website Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #3
RE: Change SERVER_HOSTNAME
Hi joximu,

joximu Wrote:Changing in ispcp.conf does not do anything important.

the reason why I want to change these settings is at first that the ispCP - Log emails are still named with the old hostname - is this changed by the ispcp.conf file or does I have to change another file, too?

Greetings
FeG
11-17-2007 06:42 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #4
RE: Change SERVER_HOSTNAME
change mydomain and myhostname in the /etc/postfix/main.cf
11-17-2007 06:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #5
RE: Change SERVER_HOSTNAME
rbtux Wrote:change mydomain and myhostname in the /etc/postfix/main.cf

That's not the point... I mean the mail subjects, like:

"ISPCP 1.0.0 RC2 OMEGA on hostname.domain.de"

Where does this hostname etc. is taken from?

Greetings
FeG
11-17-2007 06:52 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #6
RE: Change SERVER_HOSTNAME
ah sorry misunderstood you...

i don't know where this is stored...
11-17-2007 07:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: Change SERVER_HOSTNAME
FeG Wrote:
rbtux Wrote:change mydomain and myhostname in the /etc/postfix/main.cf

That's not the point... I mean the mail subjects, like:

"ISPCP 1.0.0 RC2 OMEGA on hostname.domain.de"

Where does this hostname etc. is taken from?

Greetings
FeG

have a look for the word "banner" in main.cf...
11-17-2007 07:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #8
RE: Change SERVER_HOSTNAME
rbtux Wrote:i don't know where this is stored...

OK, I tried it, after changing the ispcp.conf file and restarting the ispcp_daemon, the mail-subjects changed...

I'll set this to solved, thanks anyway guys Cool

FeG

edit:
joximu Wrote:have a look for the word "banner" in main.cf...
That's only the banner for the SMTP-server...
(This post was last modified: 11-17-2007 07:10 AM by FeG.)
11-17-2007 07:09 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)