Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Domain with SSL for Jira| Bitbucket

Kamalnath LP
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 7, 2020

Jira and bitbucket hosted in a same instance, how to separate them under different subdomains. example:

jira.xxxx.com

bit.xxxx.com

1 answer

1 accepted

0 votes
Answer accepted
Charlie Misonne
Community Champion
October 7, 2020

Running 2 Atlassian applications on the same host is no problem. By default thy will use a different port (8080 for Jira and 7990 for Bitbucket).

A thing to keep in mind: make sure you don't use a "context" path for the applications in the configuration. By default this won't be the case anyway.

The easiest setup is by using a reverse proxy in front of you applications. Both subdomains should point the the IP of your reverse proxy. On the reverse proxy you pass  jira.xxxx.com to <host-ip>:8080 and bit.xxxx.com to <host-ip>:7990

You can handle the SSL offloading on the reverse proxy and configure the server.xml for Jira and the bitbucket.properties for Bitbucket.

In case of an apache reverse proxy you can find more details on Proxying Atlassian server applications with Apache HTTP Server (mod_proxy_http).

Kamalnath LP
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 7, 2020

@Charlie Misonne thanks for the answer, may i know what is the context path?

Already we are using it for a couple of  months, with jira and bitbucket connected, using jira user management?

Does it cause any issues on installing reverse proxy?

Charlie Misonne
Community Champion
October 8, 2020

Apparently my comment did not came trough. Here I go again:

the context path is the part behind the domain in your url. Example: <your-url>/jira. But as you are using a subdomain you will not need this.

Setting up a reverse proxy is not a trivial task. But connecting Jira and Bitbucket for user management should not be issue as long as they accept eachother's SSL certificate.

You can also opt for a solution without reverse proxy. In this case you will have to confiugre Jira and Bitbucket to handle SSL.

For Jira: https://confluence.atlassian.com/adminjiraserver/running-jira-applications-over-ssl-or-https-938847764.html

For Bitbucket: https://confluence.atlassian.com/bitbucketserver/securing-bitbucket-server-with-tomcat-using-ssl-776640127.html

Suggest an answer

Log in or Sign up to answer