IIS – Forwarding requests to a folder to another port

glassfishiis-7

Context

I currently installed Glassfish 3 in a server that currently holds ASP and PHP inside Internet Information Server 7 so we can start moving to a new system architecture (the information system is being remade). Obviously, Glassfish uses another port and without too much configuration (all I had to do is to install it) it worked. If I write www.domain.com:8080, the person will be redirected to the Glassfish server.

Issue

Obviously I don't want the person to write the port! I also believe it might also hold some security issues.

Requirement

I need the server to take an address of the form www.domain.com/gf or new.domain.com or something alike, and when it receives such a request, "redirect" (masking the URL) the user to the Glassfish website (www.domain.com:8080).

Thank you beforehand!

Best Answer

sounds like you need something like the Apache Tomcat connector for iis dont let the name fool you it also works for glassfish

between this http://www.codefactorycr.com/glassfish-behind-apache.html (Yes i know it is for mod_JK but the workers.properties file is very similar for the isapi filter) and https://confluence.atlassian.com/pages/viewpage.action?pageId=218270157

you should have a good start getting it working

Related Topic