automatically redirect old Jirs URL to new Jira URL

Shlomi Cohen May 2, 2013

hi

i replaced my old Jira server (syssrv02) to new Jira server (syssrv03) i need that all the users will redirect to new URL automatically , do you have any ideas ?

http://syssrv02/jira redirect to http://syssrv03/jira

i can't to this redirect via DNS because the old Jira server can't remove from the domain.

thanks

5 answers

1 vote
Radu Dumitriu
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.
May 6, 2013
1 vote
JamieA
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.
May 2, 2013

Run apache on the old server on the same port, then use something like this:

## JIRA continuity
<VirtualHost *:80>
    ServerName server2
    Redirect permanent /jira http://server3/jira/
</VirtualHost>

Shlomi Cohen May 3, 2013

thanks i will check it

0 votes
JamieA
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.
May 6, 2013

You could leave the old jira running (with local db) and modify urlrewrite.xml. But yes it could be helpful if Atlassian documented the exact steps. In practice though personally I think it's better to take the old jira down.

0 votes
Sorin Sbarnea (Citrix)
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.
May 6, 2013

I would be very helpfull to provide a TomCat specific solution as in some cases we cannot rely on proxies in front of jira.

0 votes
Theinvisibleman
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 4, 2013

Hi Shiomi,

Perhaps some of our documentations on running JIRA with Apache can help :

* Integrating JIRA with Apache

* Configuring Apache Reverse Proxy Using the AJP Protocol

Suggest an answer

Log in or Sign up to answer