I have a number of virtual hosts in my apache installation. I have two IP adresses that I use, one for SSL only.
My default virtual host is like this:
NameVirtualHost *
<VirtualHost *:80>
...
</VirtualHost>
Problem is that I have another vhost that looks likt this and should match SSL on the other IP only:
<VirtualHost 94.75.193.86:443>
...
</VirtualHost>
When I go to http://host:443 I get the default virtual host instead of the SSL virtual host. I guess this is because I use "NameVirtualHost *" instead of specifying a port.
What I am puzzled about is that when I change the default NameVirtualHost to *:80 every other virtualhost (non-ssl) stops working and every request is sent to the default vhost.
What have I done wrong?