1

Apache - 2 subdomains, no wildcard SSL certificate

view story
linux-howto

http://serverfault.com – I have a subdomain that has an SSL certificate that is working nicely. The web address for it is, lets say, like this: sd1.mydomain.com (sd1=sub-domain 1). Now I want to add a second subdomain, but it doesn't need to have the certificate encrypting the data. Thus, I want: sd2.mydomain.com I adjusted my sites-enabled directory to have two config files, one for each subdomain. The config file for the first, and working, subdomain looks like this (changing actual domain, to "mydomain", obviously): <VirtualHost *:443> SSLEngine on SSLProtocol all SSLCertificateFile /usr/local (HowTos)