SSL for multiple domains with one public IP

In the past I have tried to set up more than one domain with SSL and while the interface lets me without any errors, I end up with broken websites. For example, domain1 will have SSL enabled and working perfectly while domain2 is not SSL and working perfectly.

I will add SSL to domain2, import a cert, and everything looks ok (to my eyes) in the config.

The result however is that requests to domain1 produce content from domain2's home directory.

It has been a while since I tried this however, so maybe this was a bug that was fixed, or maybe I just don't know what I'm doing.

Can you tell me if you should be able to host multiple SSL sites on the same server under Virtualmin with only one public IP? And if so, are there any special instructions that I need to follow to get it done correctly?

Thanks in advance!



Howdy -- yup, that feature should indeed work! Both Apache and Virtualmin support having more than one SSL certificate on a given IP address.

If you see any issues doing that, let us know and we can help troubleshoot the issue