PDA

View Full Version : Changing Host/Domain Name after Installation


jaffaizal
14th February 2006, 22:06
1. Do I need to assign a Public IP (202.157.203.30) to the ISPConfig server or just a Private/Local IP (192.168.0.10) to make it work?

2. Do I need a registered domain name to make ISPConfig work/accessible from the net? (My registered domain is www.mileswork.com)

3. During installation of ISPconfig i registered the:
host as: suse1
domain name as: mw.com.

Now, i want to change it to suse1.mileswork.com.

When this is done certain menu like:
Management/Server/Settings is not accesible, since it is still looking for suse1.mw.com

How can I make this to work?
Do I need to recreate the RSA certificates again?

till
14th February 2006, 22:35
1. Do I need to assign a Public IP (202.157.203.30) to the ISPConfig server or just a Private/Local IP (192.168.0.10) to make it work?

If you are behind a router, you must assign a private IP. if your server is in a datacenter or directly connected to the internet, use a public IP.

2. Do I need a registered domain name to make ISPConfig work/accessible from the net? (My registered domain is www.mileswork.com)

Yes.

3. During installation of ISPconfig i registered the:
host as: suse1
domain name as: mw.com.

Now, i want to change it to suse1.mileswork.com.

When this is done certain menu like:
Management/Server/Settings is not accesible, since it is still looking for suse1.mw.com

How can I make this to work?

Change the domain in the file /home/admispconfig/ispconfig/lib/config.inc.php

Do I need to recreate the RSA certificates again?

No, i dont think so.

jaffaizal
16th February 2006, 17:09
Till,

It works, TQ for your help...

BTW,..can assist with my integration with TYPO3? Please click on this link http://www.howtoforge.com/forums/showpost.php?p=15572&postcount=7
Jaf

Kamran Shah
18th March 2006, 00:49
This time when I re-installed my system and ISPConfig I entered incorrect host/server name and wanted to change after installation.

I changed SERVER_NAME URL in /root/ispconfig/scripts/lib/config.inc.php and tried to browse https://new.domainname.com but when I click on any of settings in Management tab it would redirect me to https://old.domainname.com. I have made these changes in past and they worked not sure why but tried to dig around and found following changes were required to fix, just thought to let guys know.

Changes to /root/ispconfig/httpd/conf/httpd.conf file.
httpd.conf:ServerAdmin root@host.domainname.com
httpd.conf:#ServerName host.domainname.com
httpd.conf:ServerName host.domainname.com
httpd.conf:ServerAdmin root@host.domainname.com