Co-Domain Management

Discussion in 'Installation/Configuration' started by vaio1, Mar 23, 2009.

  1. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    Hi guys,

    I have a domain with several redirect.
    The user must have only one "web" folder to manage all the domains. The project is one but we have many domains to redirect to the master one.

    Master Domain: mysite.com
    Co-Domain: mysite.net, mysite.info, mysite.org ... etc...

    If the user buy a domain like myothersite.com can I add this domain inside the co-domain management as a co-domain?

    Other question:
    Can I delete a group of domains of a hosting plan?

    thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, but it will go to the same folder then the main site unless you add a apache rewrite rule to forward it to another directory or URL.

    Not sure if I understand this correctly. If you delete a site, all co-domains associated with this site will be deleted. If you delete a client, all websites and co-domains of this client will be deleted.
     
  3. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    Hi Till,

    thanks for the reply. A good feature is a fast insert of the domains.
    I have a user who has 50 co-domains for only a big site.

    Suggestion:
    Create a simple xml domain import like this:
    Code:
    <xml>
        <co-domain>
            <item>
                <name>site1.com</name>
                <redirect></redirect>
            </item>
            <item>
                <name>site1.net</name>
                <redirect>http://site1.com</redirect>
            </item>
            <item>
                <name>site1.org</name>
                <redirect>http://site1.com</redirect>
            </item>
            .
            .
            .
        </co-domain>
    </xml>
     

Share This Page