Configure JIRA, Confluence behind Apache on the same Centos server


I would like
- to install and configure JIRA and Confluence (integrated )on a Centos (32bit) server.
- to configure Apache WebServer to be able to use and domains.

Question: What is the problem in the configuration below? When I call http://jira.mycomp.comI receive:
Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache/2.2.15 (CentOS) Server at jira.mycomp.comPort 80

*** SEE httpd error_log below ***

I have already set the DNS records for,,
I have gone through the Atlassian docs, but i have some problems with configuring Apache/Tomcat to reach jira.mycomp.cominstead of

- Centos 6.5 (final)
- Mysql 5.5
- hostname:
- IP:

-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8095 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8092 -j ACCEPT

-A INPUT -m state --state NEW -m tcp -p tcp -m multiport --dports 5901,6001 -j ACCEPT

-A INPUT -p tcp --dport 3306 -m state --state NEW,ESTABLISHED -j ACCEPT
-A OUTPUT -p tcp --sport 3306 -m state --state ESTABLISHED -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited

My Plan:

- install jira (atlassian-jira*bin) on port 8092
- install httpd (configure with 2 VirtualHost and proxy them to Tomcat)
- install confluence on port 8095
- configure httpd for
- integrate jira and confluence

What I have done so far:
- install jira (atlassian-jira*bin)
- OK works fine
- reaches JIRA

- install httpd
- OK
- configure 2 Virtualhosts:

according to<br< a="">>
i have changed:
<Context docBase="${catalina.home}/atlassian-jira" path="/jira" reloadable="false" useHttpOnly="true">

<VirtualHost *:80>
DocumentRoot /var/www/html

...<br< a="">> ProxyPassReverse /<br< a="">>

<VirtualHost *:80>
DocumentRoot /var/www/html/atlassian

calling from internet I receive an error "Service Temporarily Unavailable"


[Wed Jan 22 17:18:26 2014] [error] (13)Permission denied: proxy: HTTP: attempt to connect to ( failed
[Wed Jan 22 17:18:26 2014] [error] ap_proxy_connect_backend disabling worker for (

Thanks a lot,


1 answer

1 accepted


After reading through some Apache tutorials about the Web Server configuration
and the use of mod_proxy (, I realized, that my version of Apache (2.2.15) on Centos 6.5 does not contain all the modules I need here (although it was written in atlassian doc, that I might need to install mod_proxy_html).

Before carrying out the things on the following link I had to install some development stuff:
yum groupinstall "Development Tools"
yum install openssl-devel
yum install pcre-devel
yum install httpd-devel

I found this link where it was written how to install mod_proxy_html:

And it worked!

I completely reinstalled jira (with Tomcat).
(I have not changed the default context path in server.xml.)

I added to /etc/hosts:

And changed httpd config at my virtual host (if you dont understand virtual hosts, you should read apache doc about it.. not too long..)


<VirtualHost *:80>
<Proxy *>
Order deny,allow
Allow from all

ProxyRequests Off
ProxyPreserveHost On
ProxyPass /<br< a="">> ProxyPassReverse /<br< a="">> ProxyHTMLURLMap /

Afterwards you can install jira (or before...) and you'll be able to reach it on you have the port 80 opened on your routers and in your iptables).

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,789 views 11 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot