Saturday, October 9, 2010

Directing http://example.local

DNS servers used are stored in /etc/resolv.conf

If the IP address is listed in the /etc/hosts file,the name servers are not used.

127.0.0.1 example.local
(add to /etc/hosts so that http://example.local reaches localhost)