We are moving our webservers to Windows Server 2008. So I need to configure IIS 7.0 to forward requests to Confluence, JIRA and Crucible using subdomains. I am a newbie concerning web servers...especially IIS. On the old server we used reverse proxy in Apache which was extremely easy. Not an option this time around.
I got JIRA 4.4, Confluence 4.1 and Crucible 2.7 installed and running using localhost. We need to access them through subdomains....jira.yourdomain.com, wiki.yourdomain.com, crucible.yourdomain.com
I followed the instructions to Integrate JIRA with IIS. http://confluence.atlassian.com/display/JIRA044/Integrating+JIRA+with+IIS
I was having a hard time configuring JIRA using a subdomain until I came across this extremely helpful article. http://superuser.com/questions/365447/how-can-i-run-jira-on-windows-via-a-subdomain
To summarize:
80
with a host header of jira.yourdomain.com
.JIRA\conf\server.xml
file leave the path empty for the <Context path=""...>
attribute where the wiki documentation tells you to specify one. Only enter one such as /jira
for eg. if you are using sub-directories.JIRA\conf\server.xml
file port
attribute of the <Connector...>
element is set to something other than 80
which IIS will be running on. For instance the default I believe installs to 8080
so leave it at that.tomcat_iis_connector\conf\uriworkermap.properties
file used for the ISAPI proxy filter, make sure your worker entry is listed as: /*=worker1
and not /jira/*=worker1
which the documentation suggests you do.That should be it, now run an iisreset
and reboot of your JIRA service and you're good to go. Can't believe this isn't really detailed on the net or the sub-domain option wasn't detailed in the Atlassian Wiki.
Finally I had success accessing JIRA through the subdomain, jira.yourdomain.com after adding it to my host file. (c:\windows\system32\drivers\etc\hosts)
But I can't add confluence or crucible subdomains to the ISAPI Redirect. I started following the instruction Configuring JIRA and Confluence with IIS.
I added worker2, but problem is if I'm not using a subdirectory, I don't know how to directly specify the port for Confluence in the ISAPI proxy filter. I copied worker1 and just changed it to worker 2 in the file tomcat_iis_connector\conf\uriworkermap.properties. I get an error: Duplicate key '/*' detected - previous value 'worker1' will be overwritten with 'worker2'.
I know it's got to be possible, but I am just unsure how to do this. Does anyone know how multiple subdomains can be setup?
Hi C Parker.
I had a similar issue: How to use one IIS to redirect to several instances on the same host having the same context-path (in your case none ;)). Finally I got it working. Let's see if I get it together:
Hope that helps.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.