Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


I have Bugzillla 3.6 running on Linux, with a Windows 2008 server for our internal DNS.

I need to set Bugzilla's urlbase" so the SAME configuration will work for INTERNAL clients as well as EXTERNAL clients


  • urlbase=

  • External access: (xx.yy.zzz.nn) <= Everything works OK

  • Internal access (Windows DNS)

http://bugs/bugzilla ( <= Reaches initial page, then barfs trying to access remote address "" - because the host is actually inside our firewall


Hack c:\Windows\system32\drivers\etc\hosts on the client PC:

Two problems with this workaround:

  • I'd have to edit hosts for every client in the building

  • It breaks for a laptop that might be external one minute, and an internal client the next

Any better ideas?????

Is there any "one size fits all" urlbase for Bugzilla???? Or does it require an FQDN?

Thank you VERY much in advance...

share|improve this question

Fix your firewall & NAT to allow hairpinning when internal clients try to connect to that port on the NAT's public IP address.

share|improve this answer

Another option is to install Bugzilla twice, both configured to use the same database, but with different urlbase settings.

share|improve this answer

Another solution would be to set up an internal DNS server (not externally accessible) at your company (perhaps just by enabling DNS service on a server you've already got), have all your internal clients use that DNS server when they're on the internal network, and have that DNS server have an "A" record mapping to

That way you don't have to hack the /etc/hosts file on all your clients (which is why DNS was created in the first place).

This has an advantage over my other suggestion, in that Bugzilla traffic from your internal clients would not have to traverse your network and your NAT gateway twice.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.