• Community
  • Products
  • Jira Core
  • Questions
  • How can I configure two different URLs, One for Internet access(Published over internet) and another for Intranet access(Through Corporate network).

How can I configure two different URLs, One for Internet access(Published over internet) and another for Intranet access(Through Corporate network).

How can I configure two different URLs, One for Internet access(Published over internet) and another for Intranet access(Through Corporate network).

Currently we have configured over Internet. which is slow to access as this has to route through internet even though server is with in Corporate network. we want to configure another URL which we can use for Internal purpose.

3 answers

1 accepted

1 votes

You can do it by using a proxy server to proxy/rewrite one of the URLs to the other one, but don't bother - it won't work properly.

JIRA runs on a single URL and uses that for everything.  If you set up a second one with rewrites and proxies, then functions that use the base url won't work on that site (gadgets, reports, REST and email are the four areas I've seen it fail in, and I suspect there's a load more if you did more extensive testing)

Below is my proxy settings in Apache :

image2016-3-8 19:18:46.png

If I use internal URL in Browser it directly overwrites with External one and proceeds. I am OK to loose few functionalities, but internal URL will speed up the Daily work. I have tried with Host entries locally on system to bypass but didn't worked.

 

Yes, that's correct, but all the urls in the application will take the users to the base url, so they won't be using the proxy for long.  You really do need to run it on a single url.

Josh Steckler Community Champion Mar 08, 2016

+1 to Nic's comments.

I tried this too - different URLS made JIRA unusable. All users must access JIRA through the same URL, which must be the base URL. But on my instance, I have DNS set differently on intranet and internet:

For intranet users, DNS points directly to the internal IP of the server.

For internet users, DNS points to a public IP of a proxy which (after second factor authentication) passes through the firewall.

You could use a proxy server in front of JIRA but I would get IT to fix the network.. IMO a proper network setup shouldn't force you to go our though the firewall and then back in. 


What happens if you use the server IP instead of the DNS name in the URL?

0 votes
Joe Pitt Community Champion Mar 08, 2016

I agree with Jeff. Both the outside and inside DNS servers should have the same URL entry pointing to the server. That may need some setup by the network team.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

259 views 0 12
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot