Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA Base URL different to Server Hostname?

Alexander Pappert
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.
April 29, 2021

I need to migrate my jira instance to another server operating system.

Therefore, my IT department gave me a new hostserver with a nes servername, that can not be changed.

 

jira is currently running on Host A "ServernameA" with Base URL http://ServernameA/

jira should run on Host B "ServernameB" with Base URL http://ServernameA/

Is this possible?

The URL to access jira should be the same, so that all saved links will remain working

1 answer

1 accepted

3 votes
Answer accepted
Nic Brough -Adaptavist-
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.
April 29, 2021

Not with a plain web service install, no.  The whole point of the url is that it lands you on the server upon which the service is listening to the world.

Change the server's url, you need to change the url you access the service on.

When people are changing servers, what they usually do is replace, not change.  Let's say you have ServerA, called abcd on your network and given a url of yourplace.services running everything and you get new ServerB, called defg to run it on instead.  Most places would simply change their networking, replacing the mapping of yourplaces.services = abcd with yourplaces.services = defg

There are several ways to do this, it can be internal DNS, routing and so-on, but most places tend to run services like Jira behind proxies of some sort.  In the case of a proxy, there's simply a couple of lines of config that say "if url yourplace.services/jira is requested, then go ask server abcd for it" - obviously that can change to defg.

So, if you really only have servername/jira and no dns/proxy/routing/etc in front of it, you must change the base url to match, and lose all your saved links.  But it's very unlikely you have that, and you should talk to your networking people about how to replace instead of change the routing.

Alexander Pappert
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.
April 30, 2021

Thanks, I will ask my IT department about routing

Suggest an answer

Log in or Sign up to answer