2
0
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 "mydomain.dev"
- 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 mydomain.dev.
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?
Lil tip: for /etc/hosts www.mydomain.dev != mydomain.dev. So if you type in browser: www.mydomain.dev and you have /etc/fstab entry for: ip mydomain.dev it wont work – Kamil Klimek – 2010-10-14T11:15:56.453