How do I remove the port number from the URL when self hosting Confluence on a subdomain?

I'm running confluence on a DO droplet and I can't seem to figure out how to change the port number of my confluence installation from :8090 to just plain :80.

Any ideas?

2 answers

This widget could not be displayed.

There are 2 ways:

1) Install apache in front of Tomcat under which confluence is run: https://confluence.atlassian.com/doc/running-confluence-behind-apache-173695.html

2) Tune Tomcat to run under port 80: http://stackoverflow.com/questions/4756039/how-to-change-the-port-of-tomcat-from-8080-to-80

For what it's worth, option 1 is a lot easier and safer, as with 2 you have to start messing around with process and user permissions to run it securely on a port lower than 1024 on a Unix based machine.

This widget could not be displayed.

Hey Nick,

Since ports lower than 1024 is only for root, you can redirect the 8090 port to the 80 one as it was suggested in this documentation.

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
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

149 views 12 6
Read article

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