home » knowledge base » Local DNS modifications on Windows (/etc/hosts equivalent) (2005-12-31)
On Unix, /etc/hosts file contains mappings between an IP address and a name of the host. It overrides mappings from DNS. Windows has an equivalent of this file: c:\WINDOWS\system32\drivers\etc\hosts (at least that's the name on Windows XP).
What are possible uses for this file:
Changes to hosts file take place immediately after saving the file.
Here's the simplest mapping from 127.0.0.1 to localhost and blog.local.org names:
127.0.0.1 localhost blog.local.org