For enabling SSL for a single domain on a server with muliple vhosts, will this configuration work?
Solution 1:
What you are trying to do is SNI. The IP address is in fact a host name in matters of negotiation.
Your configuration will point both domain1.com and https://173.XXX.XXX.20 into the same directory.
You have 4 options:
SNI
Get an additional IP
Create an alias for phpmyamin under the one SSL cert you have
Just listen on another port for SSL as well and have the IP hostname use that. e.g. https://173.XXX.XXX.20:444
The configuration you have listed would most likely cause you some trouble. Edit your question with what solution you want to run with.. Or comment on this reply