We are using the Docker community edition for Windows. My requirement is to host different sites in different containers and access them with the same hostname, SSL cert but with different port numbers.
Site A (Docker port 80, Published port 8081, https enabled using Expose 4443)
Site B (Docker port 80, Published port 8082, https enabled using Expose 5553)
The hostname used as abcdef. com and SSL cert CN=abcdef. com
With the above setup, we are able to access the IP address and port number, However, we are not able to access the site with domain and port number.
Any help/references to the resources will be helpful.