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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

415 views 17 9
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