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.
I assume the problem is the order in which Apache reads the config files.
How can I solve this?
Using Plesk Obsidian 18.0.30 and Ubuntu 18
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.
How can I solve this?
Using Plesk Obsidian 18.0.30 and Ubuntu 18