Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


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, the person will be redirected to the Glassfish server.


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


I need the server to take an address of the form or or something alike, and when it receives such a request, "redirect" (masking the URL) the user to the Glassfish website (

Thank you beforehand!

share|improve this question
up vote 1 down vote accepted

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 (Yes i know it is for mod_JK but the file is very similar for the isapi filter) and

you should have a good start getting it working

share|improve this answer
Well, I did everything there, but I can't get to enter using either the port (website:8009) or the alias (which I think I did the latter wrong anyways) outside the server, much like my prior attempts. What might I be doing wrong? – user1231958 Oct 14 '12 at 5:50
If you are saying you can't reach them outside the server the windows firewall may be blocking the traffic. Either make sure the proper exceptions are in place or try temporarily disabling the firewall – Robert Oct 15 '12 at 17:17
After thinking a little more another solution would be a reverse proxy using Application Request Routing and URL Rewrite in IIS7 you will need to install the modules from here is a tutorial to get you started if you wish to give this a try.… – Robert Oct 15 '12 at 17:20
I'm sorry I took so long to respond, I've been quite busy lately and haven't been able to do anything else. I tried doing what you suggested me at first again using another website, and now I get a 500 error when calling GetFilterVersion from the ISAPI. What might cause it? – user1231958 Oct 18 '12 at 4:16
Also today I tried using the URL rewrite and all I got was a 404 error... – user1231958 Oct 18 '12 at 14:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.