: Does manipulation of a sub-doman to a different domain name cause any issues with an SSL wildcard? For example, if I have a subdomain of: https://foobar.somesite.com that is hosting the site
For example, if I have a subdomain of:
foobar.somesite.com
that is hosting the site but I want to pass the actual domain of:
foobar.com
in the browser would this cause any issues when using a wildcard SSL certaficate on anything for:
*.somesite.com
When I research how to do it properly my understanding is I should pass a 301 redirect on foobar to somesite then use something like:
<VirtualHost *:80>
ServerName example.com
ServerAlias *.example.com
ProxyPassMatch ^/(*)$ a.example.com/ ...
...
</VirtualHost>
If there is another way to do this please let me know but I have to use a SSL on the sub-domain.
More posts by @Samaraweera270
1 Comments
Sorted by latest first Latest Oldest Best
The SSL certificate for *.somesite.com will not match somesite.com so you will get SSL errors when you try to connect to your site if you use this certificate. You will need to get another certificate or be able to add somesite.com as a Subject Alternative Name of your certificate for *.somesite.com
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.