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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,312 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot