I like to host 2 web apps with different domain, but sharing single public IP and server.
Currently, both are spring framework web application, is embedded Tomcat portable single run able war format JAVA application. (I can change to host via native Glassfish or Tomcat) Each web app using http & https - 2 listener ports... It is possible sharing same public IP but handle request local by local port forwarding?
(1) Intercept request domain and forward to appropriate local port to handle, it is possible?
(2) I notice that >IIS8 have something call HttpPlatformHandler, not sure that support embedded Tomcat Java web app or not?
(3) Add another public IP?
Appreciate any guide please. Thanks.