We run a website where we use dynamic "subdomains" to determine/set a few variables within our codebase. The subdomains are not actual domain-entry subdomains, but just that -- dynamic. We validate them in our code and redirect to a homepage if they are invalid.
For example: https://test.domain.com
We grab "test" from the URI and confirm this is an actual "company name" in our database. If it is, we serve "test" company settings/variables accordingly and they browse our site via the test.domain.com root (even though there is no actual subdomain called "test").
ANYWAY, we have a Wildcard SSL certificate installed. We just upgraded to 11.5.30 and the wildcard SSL no longer worked and instead referenced the parallels root certificate. It worked with www and the root domain, but no longer worked on any wildcard subdomains. To further test, we created a test subdomain within Plesk, and the SSL wildcard cert validated but we can't go around creating meaningless subdomains(virtual hosts) in this regard because there is only 1 code base serving all pages.
The only way around this was to create a subdomain called "*". This works but it seems like a weak fix but I don't know what else to do.
Ideas?
For example: https://test.domain.com
We grab "test" from the URI and confirm this is an actual "company name" in our database. If it is, we serve "test" company settings/variables accordingly and they browse our site via the test.domain.com root (even though there is no actual subdomain called "test").
ANYWAY, we have a Wildcard SSL certificate installed. We just upgraded to 11.5.30 and the wildcard SSL no longer worked and instead referenced the parallels root certificate. It worked with www and the root domain, but no longer worked on any wildcard subdomains. To further test, we created a test subdomain within Plesk, and the SSL wildcard cert validated but we can't go around creating meaningless subdomains(virtual hosts) in this regard because there is only 1 code base serving all pages.
The only way around this was to create a subdomain called "*". This works but it seems like a weak fix but I don't know what else to do.
Ideas?