Using a alias instead of the long JIRA URL with hostname and port.

Kshama Shanbhag February 21, 2014

I am a JIRA user. In our organization the URL to access our Confluence page is set up as http://<servername>:8090/display/Dept/Dept+home. I would like to know if i could use a short alias to access this same page and how I can make this happen.

for eg : Instead of typing the long URL above, can I type http://Deptand be taken to the same page? Pls Help

2 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 21, 2014

First point - which is it? Jira or Confluence?

Actually, that doesn't matter too much, the same principle applies to both. You need to decide on the url you want to use for each of them and stick with it. (You can create many "aliases", so that many addresses land on the one application, but the application only really uses one of them. People using an alias will be effectively pushed to the url the application runs on. The only real use of aliases is when you've moved a system and you want to catch users using the old url and push them on to the new one)

Once you've decided on a url, you need to do two things

1. Tell the application what it is (admin -> general config -> base url)

2. Set up your network to understand it - this is mostly a bit of DNS work.

Kshama Shanbhag February 24, 2014

Thanks Nic for your answer.

I think I should provide you with some details. Even though we want to be able to access the Confluence page with the short URL , we do not want to change the Base URL. Most people in the organisation use this long URL and would continue to use it.

The need is only for some people to be able to type in the alias and be directed to the long one . We need to be able to get to http://<servername>:8090/display/Dept/Dept+home by typing http://deptand keep the long one too so others who are used to typing it that way can get to it.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 24, 2014

That doesn't really change my answer.

See my comment in braces about "aliases". It doesn't matter how many redirects or aliases you have, you can only have one base url and that's what the application will use.

People might arrive via a redirect or mapping or whatever, but once they're in, most, if not all, links they encounter for navigating inside the application will be based on the base url so the short url will be useless.

There's no harm in having these aliases or redirects, but you must decide on a single "authoritative" base url that always works. Even if you do horribly clever things with apache rewrites, that single base url is going to get used.

0 votes
Kshama Shanbhag February 21, 2014

would appreciate if any body could help

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events