IIS - Forwarding requests to a folder to another port

Posted by user1231958 on Server Fault See other posts from Server Fault or by user1231958
Published on 2012-10-12T01:41:44Z Indexed on 2012/10/12 3:38 UTC
Read the original article Hit count: 525

Filed under:
|

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!

© Server Fault or respective owner

Related posts about iis7

Related posts about glassfish