Expired domain

Discussion in 'General' started by Andesh, Mar 9, 2010.

  1. Andesh

    Andesh New Member

    I've been sloppy and let my primary domain for Ispconfig expire :(

    But I have other domains available :)

    How can I change the setup of Ispconfig (2) to use "new_domain.com" instead of "old_domain.com".
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to change the domain in the following files (only if the files exist in your setup):

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

    Andesh New Member

    Does this also apply for IspConfig 3?

    I think these 2 files are different compared to ISP3?
    /root/ispconfig/httpd/conf/httpd.conf
    /home/admispconfig/ispconfig/lib/config.inc.php
     
    Last edited: Mar 13, 2012
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No, thats for ISPConfig 2.
     
  5. Andesh

    Andesh New Member

    How do I switch primary domain in ISPConfig 3?
    Which files do I need to edit?
     

Share This Page