Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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 Champion
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