Cname records as subdomains (parked on same dir)

Discussion in 'Site & Server Administration' started by himtuna, Nov 12, 2008.

  1. #1
    Hi, I got this weird idea to utilize my current hosting plan and use same script for multiple sub-domains.

    I want to do this:

    1) create * cname record pointing to my domain. domain.tld
    so who so ever opens up the xyz.domain.tld goes to the a specific directory.

    2) For all * I want them to point to a single directory on my server.
    i.e if someone opens up xyx.domain.tld or abc.domain.tld he is presented with
    /home/user/directory

    3) The script is smart enought just like drupal with parked domains. it can present the user different pages via http request.

    4) what should I do with root htaccess ? shall I put them all together because urls are being accessed with different domains?

    5) what about cookie domains ? can I write cname record as cookie domain?
     
    himtuna, Nov 12, 2008 IP