I'm trying to get Apache httpd to route to my Tomcat site but pick the right SSL certificate, based on the domain of entry, i.e. xyz.com or xyz.net.
The xyz.com and SSL Certificate for it is linked to a Tomcat instance via ProxyBalancer. All works like a charm.
I recently purchased the xyz.net. So I bought a new SSL certificate for it. Wasn't sure how to configure it. So ended up adding a new virtual host section with same entries as for xyz.com but with the SSLCertificateFile pointing to new certificate. I'm trying to avoid duplication of the entire site just cause of the new certificate. Any way to direct SSL 443 traffic to this VirtualHost if domain of entry is xyz.net?
I configured the 2nd VirtualHost section with ServerName set to xyz.net, but Apache only sees the SSL certificate for xyz.com . Need help fast.