I am trying to set up JIRA and Confluence on same host with same IP and different DNS names behind Apache reverse proxy. But having a bit of trouble as this is first time I tried this. I have a .conf file in vhosts.d directory with the following.
## JIRA ## DNS Name is: xx.xx.mycompany.com NameVirtualHost xx.xx.mycompany.com <VirtualHost *:80> ServerName xx.xx.mycompany.com ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ ServerAdmin email@example.com </VirtualHost> ## Confluence ## DNS Name is: yy.yy.mycompany.com NameVirtualHost yy.yy.mycompany.com <VirtualHost *:80> ServerName yy.yy.mycompany.com ProxyPass / http://localhost:8090/ ProxyPassReverse / http://localhost:8090/ ServerAdmin firstname.lastname@example.org </VirtualHost>
To verify configuration, try running
httpd -S or apache2ctl -S
You can add CustomLog directive to both VirtualHost sections to verify that you are actually reaching the host that is intended. And make sure... that your DNS records are correct
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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!
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