I have Jira and Confluence on one Ubuntu server. How do i get apache 2 to redirect to both of them?

I looked at the following article
https://confluence.atlassian.com/conf57/using-apache-with-virtual-hosts-and-mod_proxy-701435690.html

When I try to do what the file asks, my apache says NameVirtualHost has no effect and will be removed in the next release

Also I tried breaking up the configs into to files, one for jira, and one for confluence. When I do that the server redirects all the traffic to Confluence.

My jira runs on port 8800 and confluence runs on port 8090

I don't have a ton of experience with Apache. and Apache 2 on Ubuntu/Debian is even more complex.

I've been pulling my hair out for 3 days trying to get this to work. Any help? 

2 answers

0 vote
Steven Behnke Community Champion Dec 11, 2015

Can you just clarify your situation a little bit first? Two applications on one machine? Is Apache on the same machine too? Can I ask why you're using Apache, and what you want your end result to look like?

I have Jira and Confluence running on one VM. Apache was installed with Jira. Apache forwards the traffic from Jira.mydomain.com to the Jira application. I'm trying to get my confluence to work the same way. I want all traffic to confluence.mydomain.com to be forwarded as well. I don't have to use Apache I just don't want my users to have to type in port numbers for the address.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

450 views 21 10
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