Hi,
I have an apache2 server with ssl setup with a domain name e.g.
https://mysite.com Set up using <VirtualHost mysite.com:443>
when I browse to https://mysite.com I can add an exception for my self
signed certificate and all works well.
I have also redirected http://mysite.com to https://mysite.com set up
using<VirtualHost mysite.com:80> which also works
However:
When I browse to https://hostname or https://IP address or any other
https domain name that is pointing to the same server, it shows the
mysite.com virtualhost (which subsequently breaks because it is being
accessed via a domain name it is not supposed to).
I do not want this to happen. It should not go anywhere at all as I have
not configured any other domain name to point to this virtualhost.
If anything by default the sites should go to the It Works! page because
in my default ssl settings I have <VirtualHost _default_:443>
and default HTTP