IIS 7 + Tomcat 7 - how to reach http://localhost:8080/my_app under e.g. http://my_app.local

Posted by Sk8erPeter on Server Fault See other posts from Server Fault or by Sk8erPeter
Published on 2011-11-25T04:16:38Z Indexed on 2011/11/25 9:52 UTC
Read the original article Hit count: 332

Filed under:
|
|
|
|

In brief:

IIS 7 + Apache Tomcat 7 + isapi_redirect.dll: I have a deployed and working Tomcat-application available under http://localhost:8080/my_app. I would like to see the same content under http://my_app.local (and NOT the default Tomcat-site [which you can see below]).
How can I do that?


Longer explained:

I have IIS 7 (7.5.7600.16385) and Apache Tomcat/7.0.22 installed.

  1. I deployed an application (let's call it "my_app") in Tomcat, which now can be reached at http://localhost:8080/my_app, works fine. I added a new web site in IIS panel with the path of the Tomcat deployed my_app, which looks like this: "c:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\my_app"
  2. I binded the host name my_app.local.
  3. After that, I configured isapi_redirect.dll like this (or that).
  4. Now, when I open http://my_app.local, I can see the default Tomcat site (see below).
  5. BUT under http://my_app.local I would like to see the same content as under http://localhost:8080/my_app.

How can I do that? Thank you very much in advance!!

my config files:

enter image description here

© Server Fault or respective owner

Related posts about iis

Related posts about iis7