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

This widget could not be displayed.

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!

This widget could not be displayed.
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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

54 views 1 0
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