Is it possible to access TeamCity via IIS?

We have TeamCity running on Windows Server 2008. At present it isn't accessible via the web (I RDP to server to view ).
I would like to access it via the web (https) but my sys admin doesn't want to run Apache, he wants to have IIS serve the TeamCity web site.

Is this possible? How?

Thanks

Mark

4 comments
Comment actions Permalink

To quote my Sys Admin he wants to "Make IIS (on that server, or another) redirect to Apache/Tomcat, and have the IIS server manage the SSL session."

0
Comment actions Permalink

Sorry for the delay. The question is still actual with latest TeamCity release?


 
Kind regards,
Marina
 
0
Comment actions Permalink

It is possible but not trivial.

I just finished working with a TeamCity user to adjust my connector project to work with TeamCity. The current connection mechanism between IIS and Apache Tomcat (ISAPI Connector) did not work for him in that case.

In short, you will need to add a library to IIS that bridges the gap between IIS and tomcat.

Two main steps needed:

a) Enable the AJP channel in the server.xml (this is commented out in the initial installation of TeamCity):

    <!-- Define an AJP 1.3 Connector on port 8109 -->
    <Connector port="8109" protocol="AJP/1.3" redirectPort="8543" />

b) Install and configure BonCode connector:

     Donwload and instructions here: http://tomcatiis.riaforge.org

     I would recommend that you create a new site on IIS for TeamCity into which you can install the connector. You will need to add a wild card mapping to transfer everything from IIS to Tomcat. There is a video that shows you how if you are not familiar with IIS or don't want to go through manuals. If you are using IIS7.5 you also need to unblock the dll files after installation.

See instructions here:

http://tomcatiis.riaforge.org/blog/index.cfm/2011/6/30/IIS-75-and-Error-with-SystemWebAspNetHostingPermission

Hope this helps,

B.

0
Comment actions Permalink

I'm publish TeamCity on localhost:8080 and setup URLRewrite Reverse Proxy rule from TeamCity IIS site. This works well.

0

Please sign in to leave a comment.