I have installed GeoServer 2.1.4 on a Win 2008 64bit server that uses IIS as its default web server but there is no obvious documentation for getting it published via IIS.

Does anyone know of a good documented procedure for getting a vanilla install of GeoServer accessible through IIS7?

I don't really want to have to install Tomcat/Apache as I know my production server Overlords will not be happy about having it on the production machine.

If I find the solution I will certainly be writing it up!

Thanks people...

  • 3
    Standard GeoServer installer contains Jetty, what is a servlet container similar to Tomcat. GeoServer is then installed as a web application inside Jetty. That's why your localhost:8080 works - it's Jetty.
    – Imp
    Jul 20, 2012 at 15:20
  • 1
    I guess, because the developers make little use of Windows in general, and none of the people that managed to get it working ever contributed back some documentation to help their fellows. Jul 20, 2012 at 20:12

1 Answer 1


Its actually relatively straight forward to get working. If you are able to see the web admin interface then you have installed the self-contained version of GeoServer which as Imp points out runs using the Jetty servlet container.

The trick to exposing GeoServer through IIS 7 lies in the use of Application Request Routing (ARR). With ARR it is possible to redirect traffic coming in to IIS based on rules, one such rule type uses a regular expression pattern to match incoming URL requests.

So, using ARR it is possible to redirect traffic to GeoServer running on port 8080 based on some public url. For example, if you have a public url of http://www.myserver.com/geoserver then you can use ARR to get IIS to pass all requests matching that url to localhost:8080 (assuming your GeoServer is running on the same server as IIS 7).

The following post on the IIS Admin blog has a good example of using ARR to route requests to Tomcat. Skip page 1 as that discusses how to install Tomcat which is irrelevant for you since you already have GeoServer running on port 8080. The remaining details on pages 2 and 3 will get you up and running with ARR. All you will need to do is map incoming requests to localhost:8080.

This is how I have my Windows 2008 servers configured, although I am using Tomcat and the GeoServer web archive rather than the Windows GeoServer installer, but the principle is the same.

Hope that helps!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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