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

Ezaru Petronela April 17, 2018

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

5 votes
Answer accepted
Petr Vaníček April 17, 2018

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 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

Deleted user August 9, 2022

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 9, 2022

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?

Deleted user August 9, 2022

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.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 9, 2022

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?

Deleted user August 9, 2022

Hi Nic,

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 9, 2022

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

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 17, 2018
  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.
Ezaru Petronela April 17, 2018

Thank you for your answer!

Like Nic Brough -Adaptavist- likes this
0 votes
Ezaru Petronela April 17, 2018

Thank you for your answer

Suggest an answer

Log in or Sign up to answer