This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
www.example.com is my domain name and I have also purchased an static IP address. I have hosted the website in my local. I type www.example.com and it resolves to IP address like XXX.XXX.XXX.XXX :80. It comes to router and again forwarded to local machine based on router port forwarding entry. Now I have another domain www.example2.com. Again I have assigned the same IP address. But now in router , there can not be multiple entries for port forwarding for same port.
But my friend told me that there is something like Port Sharing in IIS. but my one domain app is IIS and other is Tomcat. How can I resolve this? Is it possible like if we have some kinf of second level filter after router filter which redirects requests internally or I need to buy new static IP address.
(Note : Above domain names are not real and I have changed them for sake of explanation of problem.)