Change baseURL from IP to named host

jeserkin November 3, 2013

Latelly I've installed JIRA on my computer at home, to manage my projects. I've got VMWare Wokrstation with Ubuntu Server 12.04 running there. On this machine I installed latest JIRA version, but it is accessed through virtual machine ip and port.

I would like to set something like http://jira.local:port/, but I'm not sure where I should change, that. I assume, that changing baseURL through JIRA settings interface woun't be enough. Everything has default settings except ports, but they are not the issue.

I assume, that changes should be applied to /opt/atlassian/jira/conf/server.xml + before that change a change should be done in jira system settings for baseURL.

Any errors in my assumptions? If so, then what would be the right way?

1 answer

1 accepted

1 vote
Answer accepted
PedroA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 3, 2013

Hey Eugene, how you doing? :)

So based on your question, I believe you could set a context path to your 'home' instance (you would have something like: http://vm_address:8080/myjira). But to trully achieve what you want you would need to attach a web server (Apache?) in front of your JIRA so you could publish the IP address into your local network (and have something like: http://jira.local:8080 or even http://jira.localdomain.com). If you liked the context path approach, please check:

https://confluence.atlassian.com/display/JIRAKB/How+to+change+the+JIRA+context+path

Otherwise, if you want to put a web server and have your customized URL, please check:

https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache

Let us know how you prefer!
Take care.

Cheers,
Pedro.

Suggest an answer

Log in or Sign up to answer