I have a VPS from DO with one ip address. I'm managing multiple domain via Apache Virtual Hosts, and now, I must setup a virtual host with SSL support. I created a self-signed ssl certificate to test virtual host.
I can see content of example1.com with https when I connected https://example1.com but I can see content of example1.com too when I connected to https://example2.com although example2.com has not ssl configuration at server's conf file.
<VirtualHost *:80> basic example1.com http conf such as DocumentRoot, ServerName </VirtualHost> <VirtualHost *:443> example1.com https conf SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP SSLCertificateFile /path/to/example1.com-ssl-server.crt SSLCertificateKeyFile /path/to/example1.com-ssl-server.key </VirtualHost>
<VirtualHost *:80> basic example2.com http conf such as DocumentRoot, ServerName </VirtualHost>