Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,968
Community Members
 
Community Events
168
Community Groups

How can we change the domain name in Jira and Confluence?

Hi,

We want to change the domain name of our Jira and Confluence (e.g. from https://xyz.net to https://abcd.net). What are the best practices for this?

We have Jira Server - JIRA Software 7.3.6 and Confluence Server- Confluence 6.7.2

4 answers

3 accepted

4 votes
Answer accepted

It depends on your whole configuration and infrastructure settings.

Are you using proxy server for both applications?

  1. If yes and new domain point to proxy server, then
    • Change base URLs in application GUI
    • Stop application and change proxyName in [INSTALL-DIR]/conf/server.xml
    • Change domain in proxy server configuration file, check changes in configuration (for example "nginx -t" for Nginx or "httpd -t" for Apache) and reload proxy server
    • Start application
    • Delete application links and create new ones
    • Check logs if there are some errors (for example domain name in some plugin configurations)
  2. If no then follow steps from Nic
2 votes
Answer accepted
M Amine Community Leader Apr 17, 2018

Hi Ezaru,

I would say that the best practice is to have a reverse proxy installed (Apache or Nginx) so that this proxy will handle the FQDN. Moreover it is advisable to use SSL.

You can follow one of these tutorials, depending on your choice (Apache vs Nginx) : 

hope it helps.

cheers

Hi Amine,

I have checked my server.xml , apache configuration files and modified with new base url but still redirecting old link.

I am able to access jira with IP address and port number working correctly.

Can you please here for this issue.

 

Thanks

Rahul Ingle

Welcome to the Atlassian Community!

What do you mean "redirecting old link"?  What are you doing to get this, and what is it actually doing?

Hi Nick,

Recently my production Jira instance data restored on new vm (text box).

New vm hostname and IP address is different from production.

My production jira instance url like for -> mycompany.com

Now i want to changed my test box url -> "mycompany.com" to "company.com"

I hope you understood the problem statement.

 

Thanks

Rahul.

Nothing to do with redirects then?

From what you've said before, there are a couple of things that might be missing.

1. Have you updated the DNS records?

2. On the proxy, have you changed it to refer to the new IP addresses of the service?

Hi Nic,

As mentioned above 2 points already done my side but still facing issue.

Could you describe the problem properly?  "facing issue", and "redirecting old link" tell us nothing about what you are seeing.

1 vote
Answer accepted
  1. Set up your network so that the new urls land on the services.
  2. Change the base urls in the "global configuration" for both services.
  3. Regenerate any application links you have between them.

Thank you for your answer!

Like Nic Brough _Adaptavist_ likes this

Thank you for your answer

Suggest an answer

Log in or Sign up to answer