Today i came across a situation where i had to do virtual hosting in windows with my application running in tomcat. After lots of try, i could come to a solution.
I had java application running in tomcat on port 8080. So the url was http://localhost:8080/myapplication. To host this application globally i needed to map this url to a global ip. Below are the steps how i achieved this:
1. Redirection of tomcat application is achievable using the Apache HTTP package. Firstly download the appropriate apache package from http://httpd.apache.org/download.cgi.