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 votes
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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,507 views 4 13
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