Sharing port 80 between IIS and Tomcan server on the same machine
Posted on 2010-09-02
hi, here is the situation:
we have two subdomains pointing to the same computer (windows server 2008) and we are running IIS as webserver on one domain and Tomcat as webserver on another domain. this is what we have now:
domain1.mycompany.com , ip 184.108.40.206 , IIS on port 80
domain2.mycompany.com , ip 220.127.116.11 , Tomcat on port 81
But it has become necessary to run both of them on port 80 and do routing based on the request (i guess by looking at the domain) .
How can i set this up in IIS and Tomcat? can anyone help ?
How can i