Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

A little background:

  • I'm running Mac OS X 10.6.4
  • I have a site set up on my external web server
  • The site on my server is set up with DNS records ready to respond to ""
  • There is no public domain name set up for this site (yet)

I want to be able to access this remote site so I have made an entry in my /etc/hosts file with the public IP and

When I ping the domain it responds with the correct IP but when I browser to it through my browser (Chrome and Safari) it comes back with an "unable to determine IP address" error. This error is coming from Squid which we are using as a proxy at work.

Is there a way to access this site using a temporary domain name? I would have expected that the browser went to my local hosts first to get the IP rather than trying through DNS, or is the proxy just trying to be too smart and stuffing me up?

share|improve this question
Lil tip: for /etc/hosts != So if you type in browser: and you have /etc/fstab entry for: ip it wont work – Kamil Klimek Oct 14 '10 at 11:15

In your web browser you may need to add your domain in the 'Ignored hosts' tab. For example, in Chrome hit 'Options' -> 'Under the Hood' -> 'Change Proxy Settings' there is an 'Ignored Hosts' tab.

You mentioned the domain is '', so try adding *.dev to this list.

share|improve this answer
Thanks JT.WK. I gave that a shot but still ended up with the same error. The proxy they have in place at work is transparent so no settings are set on the actual desktop/laptop itself. I tried connecting through a different network (not my corporate network) and it works fine, so probably just a problem at the proxy end. Maybe not much I can do about it?? – Carl Oct 11 '10 at 4:14
If it's a transparent proxy (and it's not working now), there's not much you can do. The problem is almost certainly that the proxy can't resolve, and unless you have admin control over the proxy to add that to its hosts file (or equivalent)... – Gordon Davisson Oct 11 '10 at 5:52
Hi Gordon. Thanks for that. I think it's the case. It's working perfectly from home so I'll just have to deal with it that way. – Carl Oct 11 '10 at 7:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .