• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Resolved wildcard subdomain and another real subdomains

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.
 
Back
Top