Run a Different Website with SSL on the Same VPS of Confluence

Follow the instruction of Confluence, I have successfully installed the SSL for my confluence site on: https://wiki.example.com.

Then I need to setup another website on the same VPS (in my case: manager.io) on the same VPS, which runs a plain http over port 8080.

Since tomcat is installed with Confluence, how can I modify the setup of the tomcat in Confluence to enable the SSL connection on port 8080?

1 answer

0 vote
Ann Worley Atlassian Team Aug 16, 2017

The Tomcat configuration is under Step 3 on Running Confluence Over SSL or HTTPS. You may change the port from 8443 to 8080:

        <Connector port="8080"

You will need a reverse proxy in front of the server unless you want to use a URL with the port, like https://wiki.example.com:8080

Here are docs for two free proxies:

Proxying Atlassian server applications with Apache HTTP Server (mod_proxy_http) 

Running Confluence behind NGINX with SSL

It's fine for me to run the second website use a URL with the port.

Currently, in my server.xml contains two <Connector>

<Connector port="8080" 

and

<Connector port="8443"

Do you mean I should add another Connector behind 8443 with contains:

<Connector port="8080"

And use similar approach to generate .keystore file for the second website?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,829 views 27 11
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