default folder for subdomains?

Discussion in 'Installation/Configuration' started by dagg, Sep 30, 2008.

  1. dagg

    dagg New Member

    is there any way to set a separate default folder for a subdomain?

    for example, domain.tld is going to go to /var/www/domain.tld
    what im trying to get to happen is sub.domain.tld winds up pulling the html file from /var/www/domain.tld/subdomain_folder

    make sense?
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. zcworld

    zcworld New Member

    i like to use
    /var/www/vhost/mysite.com/htdocs <is the www / and top level domain site>
    /var/www/vhost/mysite.com/logs <apache logs folder>
    /var/www/vhost/mysite.com/tmp <tmp folder>
     

Share This Page