Jira and bitbucket hosted in a same instance, how to separate them under different subdomains. example:
jira.xxxx.com
bit.xxxx.com
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).
@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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 Bitbucket: https://confluence.atlassian.com/bitbucketserver/securing-bitbucket-server-with-tomcat-using-ssl-776640127.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.