Azurel
Silver Pleskian
Hi,
I've a issue with wildcard subdomains, in a subscription I've some 'real' subdomains (forum.domain.tld, shop.domain.tld) and also need to set ServerAlias *.domain.tld for the main VirtualHost container. I don't want access to not exists domain like abc.domain.tld and show a plesk screen. I want all not exists subdomains redirect to primary domain.
But with wildcards this never hit shop.domain.tld or forum.domain.tld. What is the correct way to add subdomains, but all not exists subdomain should redirect to/show primary domain and not plesk default domain (for all subscriptions) or a plesk screen.
I've a issue with wildcard subdomains, in a subscription I've some 'real' subdomains (forum.domain.tld, shop.domain.tld) and also need to set ServerAlias *.domain.tld for the main VirtualHost container. I don't want access to not exists domain like abc.domain.tld and show a plesk screen. I want all not exists subdomains redirect to primary domain.
But with wildcards this never hit shop.domain.tld or forum.domain.tld. What is the correct way to add subdomains, but all not exists subdomain should redirect to/show primary domain and not plesk default domain (for all subscriptions) or a plesk screen.