Want to redirect non-fqdn URLs to the proper fqdn URL

Jon May 23, 2017

 

I want to be able to just type http://confluence, or https://confluence and have it redirect to https://confluence.company.com (so that the browser doesn't throw a warning about the cert and URL not matching).  Internal DNS is set up properly so that the name resolves, I just need it to be redirected to the full proper URL so that the certificate matches and the browser doesn't give the warning.

I've tried going through all the apache proxy documentation, and cannot find something that accurately describes what I'm trying to do.

Can anyone help?  This should not be this difficult, but I don't know why I can't get this working

1 answer

0 votes
LarryBrock
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 3, 2017

Here's the stanza from my apache config:

# Keep everything on the right track by redirecting all traffic to the fqdn
 <VirtualHost *:80>
         ServerName jira
         ServerAlias my-jira
         Redirect permanent / http://jira.company.com
 </VirtualHost>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events