Changing Host/Domain Name after Installation

Discussion in 'Installation/Configuration' started by jaffaizal, Feb 14, 2006.

  1. jaffaizal

    jaffaizal New Member

    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?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.

    Yes.

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

    No, i dont think so.
     
  3. jaffaizal

    jaffaizal New Member

  4. Kamran Shah

    Kamran Shah New Member

    Changes to server/domain URL for ISPConfig control panel in addition to config.inc.ph

    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@[U]host.domainname.com[/U]
    httpd.conf:#ServerName host.domainname.com
    httpd.conf:ServerName host.domainname.com
    httpd.conf:ServerAdmin root@[U]host.domainname.com[/U]
     

Share This Page