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 votes

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 votes
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
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

26 views 0 2
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