It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Installing and setting Apache after JIRA and Confluence installation for external access

Kemal Bajramovic Aug 22, 2013

Hi,

I installed JIRA and Confluence on Windows Server 2008 R2 and our team started using it internally. Now we want to allow external access to both applications via links:

jira.domain.com

confluence.domain.com

I created DNS entries to point to server public IP address, installed Apache and tried some options, but I can’t figure out how to do it? I’m absolute beginner regarding Apache and Tomcat. Can someone spare me of torture and explain how to configure Apache, JIRA and Confluence to achieve this?

2 answers

1 accepted

0 votes
Answer accepted
Kemal Bajramovic Aug 25, 2013

It was relativly easy when I got deeper into it:

1. Set JIRA and Confluence to listen ports 8080 and 8090, respectivly, by editing each server.xml file.

2. Loaded proxy modules as explained in https://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy

3. Added the following virtual hosts in Apache httpd.conf:

<VirtualHost confluence.domain.com>
# Confluence Proxy Configuration:
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyRequests Off

ProxyPreserveHost On

ProxyPass / http://domain.com:8090/

ProxyPassReverse / http://domain.com:8090/


</VirtualHost>

<VirtualHost jira.domain.com>
# JIRA Proxy Configuration:
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyRequests Off

ProxyPreserveHost On

ProxyPass / http://domain.com:8080/

ProxyPassReverse / http://domain.com:8080/

</VirtualHost>

4. Restarted Apache.

Erik Arendall Oct 26, 2015

Will users be able to access both internally and externally using confluence.domain.com? I have mobile users that need access both internal and external and I would like to not have two different links to access the same service.

Kemal Bajramovic Oct 26, 2015

Yes.

1 vote

Hello there!

You'll need to make use of Apache mod_proxy to perform those redirects. However, since you're running your installation on a Windows based environment, I believe that you can make use of Windows Server native tools: http://blogs.iis.net/carlosag/archive/2010/04/01/setting-up-a-reverse-proxy-using-iis-url-rewrite-and-arr.aspx

Cheers,

Lucas Lima

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

942 views 0 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you