ispCP - Board - Support
[Solved] Change SERVER_HOSTNAME - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: [Solved] Change SERVER_HOSTNAME (/thread-1801.html)



[Solved] Change SERVER_HOSTNAME - FeG - 11-17-2007 05:25 AM

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


RE: Change SERVER_HOSTNAME - joximu - 11-17-2007 05:40 AM

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


RE: Change SERVER_HOSTNAME - FeG - 11-17-2007 06:42 AM

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


RE: Change SERVER_HOSTNAME - rbtux - 11-17-2007 06:48 AM

change mydomain and myhostname in the /etc/postfix/main.cf


RE: Change SERVER_HOSTNAME - FeG - 11-17-2007 06:52 AM

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


RE: Change SERVER_HOSTNAME - rbtux - 11-17-2007 07:03 AM

ah sorry misunderstood you...

i don't know where this is stored...


RE: Change SERVER_HOSTNAME - joximu - 11-17-2007 07:08 AM

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...


RE: Change SERVER_HOSTNAME - FeG - 11-17-2007 07:09 AM

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...