Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

project-march October 4, 2015

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

0 votes
Guilherme V.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 6, 2015

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.

0 votes
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 4, 2015

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 4, 2015

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events