• 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

2 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 vote
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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published 4 hours ago in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

233 views 3 4
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