At the moment to access my JIRA installation I access <domain>:<port number>. What I would like to do is be able to access JIRA by navigating to jira.<domain> without having to specify the port number. I was just wondering what things need to take place for me to do this.
Thanks in advance!
I got this working using JIRA w/apache. I got this working doing the following things:
DNS: On my DNS host I added an A record to point jira.<mydomain> to the IP of the box running my JIRA instance. Please note that DNS records can take a while to propagate so patience is sometimes needed.
Apache: Created a file in /etc/apache2/sites-available called <servername> with the following entry:
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
I then ran 'a2ensite <NAME_OF_FILE_YOU_JUST_CREATED>' and reloaded apache2
A note here: Ensure that mod_proxy is enabled - I can't remember if it is enabled by default.
JIRA: I stopped the JIRA service and opened server.xml and added the following two entries to the Connector element:
Then I started the JIRA service.
From here things seemed to work. It seems to me that this is the most basic way to set things up. You have DNS resolving the subdomain to the correct IP, apache sees the request and forwards it on to the JIRA instance.
I'm not a sysadmin, nor do I have vast experience configuring apache, so this might not be what is deemed the "best" way to do this (i.e. the first thing I can see here is that it would be preferable to have this running over https, but that doesn't seem like it would be a lot of effort to get going), so if anyone reading this has any suggestions as to how this can be improved feel free to speak up.
Hi, refer to https://confluence.atlassian.com/display/JIRA/Changing+JIRA's+TCP+Ports for changing JIRA's port to 80 (or 443 for SSL), so you don't have to specify the port.
To get it to have jira.<domain> add the IP of your JIRA server to your DNS of the domain with jira and this should be good. If you have problems with this port contact your domain registrar.
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