I have a WordPress multisite on domain mysite.com, this allows you to create multiple sub domain sites (test1.example.com, test2.example.com etc).
It uses wildcard subdomains where you add a * in cpanel > subdomains. Here is the htaccess code:

I can configure a wildcard SSL certificate to work for this, all subdomains on this WordPress network will have https.

I also have a non-WordPress site running on the same domain: (myothersite.mysite.com). This site doesn't use wildcard subdomains, I have to set up the subdomain name in cPanel > subdomains by adding the subdomain 'myothersite', as it won't work with the * (wildcard subdomain).

My question is, is there a configuration that will allow me to use the same wildcard SSL certificate on my non WordPress site?

Because at the moment, I need 2 SSL certificates. I need a wildcard SSL certificate which handles all the subdomains on my WordPress multisite, and a single SSL certificate for my non WordPress subdomain site.

1 Answer
1

If your wildcard subdomains refer a same root domain then you can secure all your subdomains with a single Wildcard SSL certificates. Moreover, major certificate authorities offer unlimited server licenses with their wildcard certificate, so you can apply a same certificate on multiple servers.