I'm totally new in virtualization but I was wondering if this was possible.
I know using multiple SSL on one host is not simply possible (require wildcard ssl or some odd manipulation apparently not functional on every browser).
So, I was thinking about creating multiple virtualized server, with, for each, an instance of an apache or nginx server, with different SSL certificates.
But is this possible?
To be clear, here is a schema:
Host A (ip: 1.2.3.4)
Virtual server 1 with NGinx
For: https://www.example.com (with SSL for www.example.com)
For: http://www.exp.com
Virtual server 2 with NGinx
For: https://www.anotherexample.com (with SSL for www.anotherexample.com)
For: http://www.anoexp.com
For: http://www.anoexp2.com
Etc
Where it struck me, it's that from what I learned, SSL certificate starts BEFORE sending the hostname to the server, so the server (virtual or not), don't know where to address the request and doing so, don't know which certificate use.
To be the most concise possible, I'd like to use two distinct https website on my only one server and I was hoping it was possible using virtualization, but I don't know anything technical about it.
Sorry if I'm not very clear, it's also a bit confuse for me too.
Thank you for your help, I appreciate!