Allow separate webroot for wildcard subdomain and www
I'm looking for a way to use a different webroot for my www.domain.com and a different one for all the other subdomains.
I created domain.com, then created a wildcard subdomain for that domain, pointing to a different webroot.
The problem is that the wildcard subdomain hijacks the www subdomain as well.
domain.com is working correctly, but www.domain.com uses the wildcard subdomain's config.
I assume the problem is the order in which Apache reads the config files.
4
votes
![](https://secure.gravatar.com/avatar/f35e4cc7e6823a4391d740c3de45aa17?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Thank you for your input. We will consider this functionality in upcoming releases if it is popular. Everyone, please continue voting for this feature if you consider it important.
—
IG