We have 2 sites hosted on an Apache server. everything with port80 is working fine, but when we try to connect using https we are redirected to the first document directory of port443 regardless of which URL we use. we have a SAN(UCC) SSL certificate that's set up properly for both domains. can any one assist us in finding a solution so https://website2.com does not end up over in https://website1.com
<VirtualHost *:443>
ServerName website1.com
DocumentRoot /var/www/website1
</VirtualHost>
<VirtualHost *:443>
ServerName website2.com
DocumentRoot /var/www/website2
</VirtualHost>