Redirect FQDN to site:port number

Hello, We're attempting to redirect jira.ourcompany.com to https://jira.ourcompany.com:8443.  We've spent some time doing some research online and nothing so far!  The idea is for our users to be able to enter in jira.ourcompany.com into their web browser without having to enter in https or the port number (8443).  This is something that I can easily do with virtual hosts in apache, but I'd like to get it working within tomcat.

 

Any help would be much appreciated, as I'm new to tomcat!

2 answers

0 vote

Hi there,

Please take a look on step #3 to #6 under Update Tomcat with the Keystore section. It explains how to enable the redirect.

https://confluence.atlassian.com/display/JIRA/Running+JIRA+over+SSL+or+HTTPS

Hope it helps!

Cheers

L.F

Yes, you pointed me in the right direction.  However, I've played around with these specific settings and managed to get the http://jira.ourcompany.com:8080 to redirect to https:jira.ourcompany.com:8443 and this doesn't cover how to redirect jira.ourcompany.com to https:jira.ourcompany.com:8443.

 

If I set the HTTP port to 80 and HTTPS port to 8443, the HTTP to HTTPS redirect will fail.

 

Is there a way to do this without using Apache mod_rewrite?  I'd rather not have apache / apache tomcat both running on our instance.

 

Thank you!

0 vote
Pedro Cora Atlassian Team Apr 27, 2015

Hello,

To achieve that, you will need to have a reverse proxy in front of JIRA, or some service that provides port forwarding. I'd recommend a reverse proxy such as Apache with mod_proxy that will allow you to do it.

For more details, take a look at our documentation on https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache

wink

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

135 views 5 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you