Change JIRA base URL

Varun Reddy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 7, 2012

We would like to install jira at a custom URL. This is not asked during the install, but during the initial configuration and has been configured as:

http://hostname:8080/jira

This appears on the System --> General Configuration --> Base URL as: http://hostname:8080/jira but however clicking on it results in a page not found message.

However JIRA is accessible through the following default URL: http://hostname:8080

Is there a way to change it post installation or during the installation itself. Why is the Base URL shown in the General Configuration page not valid?

3 answers

1 accepted

6 votes
Answer accepted
ArielA
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 7, 2012

Hello there, I hope this will help:

If you are attempting to change the URL through which JIRA is accessed - e.g. changing from:

http://hostname:8080

to

http://hostname:8080/jira

This change is actually made within an app server configuration file. For example, in Tomcat the server.xml file is modified to include an entry within the path argument of the Context element - e.g.:

<Context docBase="/home/keithb/src/atlassian/jira-3.6.branch/src/webapp" reloadable="false" debug="0" path="/jira">

Once the app server is restarted, JIRA will now be available at the new URL as noted above.

It will be necessary to ensure that the Base URL correctly reflects these changes so as all emails generated from JIRA correctly link back to the JIRA instance.

-

Source: http://forums.atlassian.com/thread.jspa?forumID=46&threadID=12180

Gian Molina
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 15, 2018

Hola @ArielA 

se puede saber si hay forma para poder cambiar el puerto de la  URL de JIRA  por ejemplo tengo la siguiente URL:

http://jira.company.com.pe:8080/secure/Dashboard.jspa

 

y quiero que se visualice así

http://jira.company.com.pe/secure/Dashboard.jspa

 

Si es factible o conoces la mera que se puede evitar el puerto en Jira server

 

Saludos,

Ananías

5 votes
Matheus Fernandes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 8, 2012

Also, if you want to change from http://hostname:8080/jira to http://hostname:8080 or to any custom URL, you will need to change the JIRA Options in the General Configuration (Administration » General Configuration).

You are prompted for the Base URL during the first step of the setup through the browser, right above the License field. However, if you don't enter any manually, JIRA will use the URL you're using to access the setup page. You can change this by navigating to the General Configuration and clicking Edit Configuration in the bottom of the page.

0 votes
KhongMingA
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.
October 8, 2012

Hi nexusadmin,


If that is the case, you can configure the context path of the JIRA instance.
In order to set the context path, you can customize the context path in <installation-directory>\config\server.xml.

&lt;Engine name="Catalina" defaultHost="localhost"&gt;
            &lt;Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"&gt;

                &lt;Context path="/jira" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true"&gt;


To clear your doubt, the base URL is the URL which users access JIRA. The base URL must be set to the same URL by which browsers will be viewing your JIRA site.
JIRA will automatically detect the base URL during setup, but you may need to set it manually if your site's URL changes or if you set up JIRA from a different URL to the one that will be used to access it publicly.

*Any mismatch between this Base URL setting and the URL requested by your JIRA users(the address that user access in browser) will cause problems with dashboard gadgets and the email notifications*

For more information about configure JIRA options you can look up to this [documentation].

Thanks
Cheers
KM

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events