I have 3 websites running off one server (one IP), each with multiple subdomains. The httpd.conf file is rather large with multiple VirtualHost tags for each subdomain. Instead of adding to httpd.conf every time I add a new site or new subdomain, I would like to have it dynamically configured. Here's the layout...
the sites are located is
/var/www/html/[ownername]/[domain]/[subdomain]
so I want "sub.domain.com" to point to
/var/www/html/theowner/domain.com/sub
and I want this.otherdomain.org to point to
/var/www/html/someowner/otherdomain.org/this
How do I accomplish this in my httpd.conf file? Thanks.