regarding sub domains for clients

Discussion in 'Installation/Configuration' started by Ovidiu, Jan 17, 2007.

  1. Ovidiu

    Ovidiu Active Member

    hello,

    I did not find anything via search, if you do please point me there :)

    I have a client who has a site on lets says www.client.com and now he wants a second site, completely separate available on subdomain.client.com.

    what do I have to do for that?

    what I tried so far is: make a codomain subdomain.client.com and forward it to www.client.com/subdomain where I put the subdomains files but that looks very ugly... I really need subdomain.client.com to stay in the browser...

    I think this is an easy task yet I have no clue how this is done.

    this is a very urgent matter, please give me some hints.


    another thought just crossed my mind: do I have to make a new site for this client to achieve what I need done?
     
    Last edited: Jan 17, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, thats exactly the solution. You expressed it already in your first question "he wants a second site" :)

    Create a new website with:

    hostname: subdomain
    domain: client.com
     
  3. Ovidiu

    Ovidiu Active Member

    ok, thx for confirming :)

    what about users and emails? I remember a discussion long ago, where somebody from you developers said, it was planned to allow a dropdown to select domain or subdomain when creating email addresses, if I remember right - any plans for that?

    for the time being I guess I will just give him one user account, and email (aka client@subdomain.client.com) and forward all mails to client@client.com right? I am looking for an elegant, clean and easy solution.

    ###edit###
    I just reaized I can still give him an email address @client.com, instead of @subdomain.client.com but do I need to create an user at all?
     
    Last edited: Jan 17, 2007
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats already implemented in the dev branch, but not realeased yet.

    Thats just a display issue, the email addresses are created for @subdomain.client.com. But make sure that you donta have a co-domain client.com with empty host on this website.
     
  5. Ovidiu

    Ovidiu Active Member

    ok, thx for that info

    still one more question:
    this client now wants client-domain.com clientdomain.com clientdomain.net all to point to the same site, whould it suffice to add these as codomains?
    would the url in the browser change to his "basic" url when doing it like this?
    can I achieve it that the visitor still sees the original url he has typed into the browser while still redirecting the client to the basic domain? or would I have to copy his site/files severalll times to achieve this?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    yes.

    no.
     

Share This Page