We have a client that has multiple domains on the same cPanel, with a dedicated IP address. Many of these domains have wildcard subdomains.
When attempting to access the wildcard subdomains, so accessing a subdomains that is not expressly specified, they all pull from the first VirtualHost for that dedicated IP address, rather than from the respective document root of the parent domain. Is this normal behavior? Is there a way to make the wildcard subdomains pull from the document root of the respective parent domain, rather than the first VirtualHost entry for the IP?
Current Setup:
CentOS 6.10
cPanel/WHM: v80.0.20
EasyApache 4
Apache 2.4.39
When attempting to access the wildcard subdomains, so accessing a subdomains that is not expressly specified, they all pull from the first VirtualHost for that dedicated IP address, rather than from the respective document root of the parent domain. Is this normal behavior? Is there a way to make the wildcard subdomains pull from the document root of the respective parent domain, rather than the first VirtualHost entry for the IP?
Current Setup:
CentOS 6.10
cPanel/WHM: v80.0.20
EasyApache 4
Apache 2.4.39