SSL goes to default server always

I have setup a virtual IP that is at eth0:1

I can get to the site via http://domain or http://IP and it goes to the correct site.

I enable SSL and it will always go to the default SSL in the ssl.conf.

From all of the tutorials that I have looked at show that this should be very simple. I cannot figure out what I am missing so that I can have virtual hosts with SSL.

should I not have a server hostname in the hosts addresses?


I figured it out after about 8 hours lol… I think its because I had ServerHostName set instead of being default to automatic.

After that I had to set the SSL virtual host to *:443. By default it puts the IP in the https.conf file. I do have it set in the virtualmin SSL settings to only allow one IP per SSL.