Simple question... I think - re: multiple domains.

Discussion in 'Installation/Configuration' started by lidocayne, Jul 16, 2006.

  1. lidocayne

    lidocayne New Member

    I have set up Ubuntu (Dapper) using the how-to perfect setup for a server. All is great, ISPconfig is installed... I have the dns working correctly.

    My question is this.

    I have domain 1 (e.g. www.domain1.com) and domain 2 (e.g. www.domain2.com). When I go to both, they both go to my server, so I know the DNS is working well.

    The question I ahve is this. I want domain1.com and domain2.com to go to different directories on my server (obviously because they are 2 different accounts). This is where I seem to be lost. What do I have to do to create an account so they go to their own independent areas on the server? I'm sure I'm missing something very simple (I hope, at least), but I can not seem to figure this one out.

    I also have a subdomain on one of the accounts. If I call it sd1.domain1.com ... I want that to go to its own area too.

    Please! Thank you for your help and for bearing with me - I'm new at this, and learning a ton - and I appreciate those of you that take the time to help me out!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You will hve to create 3 websites:

    1) for www.domain1.com:

    host: www
    domain: domain1.com

    2) for www.domain2.com:

    host: www
    domain: domain2.com

    3) for sd1.domain1.com:

    host: sd1
    domain: domain1.com

    If these three domains belong to three different customers, you must create the three customers (Clients) in ISPConfig first and then create the websites for these clents.
     

Share This Page