Networking

Virtual Hosting in windows using Apache 2.4.4

Posted on Updated on

virtual-hosting file

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.

Read the rest of this entry »