Windows 7 - Hosts file
Posted: Sun Aug 30, 2009 5:26 pm
Configure hosts / lmhosts
The host file is the one where one enters hostname and IP Address pair manually as against being served by a Name server (ex: DNS). As always the “host” file is under C:\\windows\\system32\\drivers\\etc\\ or %systemroot%\\system32\\drivers\\etc\\ and hence cannot be edited by normal users.
To edit the host file,
Click Start – search for “Notepad
“, right-click and select “Run as Administrator“. This should launch notepad with elevated privileges. Now, open the host file from the File menu, edit and save.
Now your computer will see
http://earth/index.htm
The host file is the one where one enters hostname and IP Address pair manually as against being served by a Name server (ex: DNS). As always the “host” file is under C:\\windows\\system32\\drivers\\etc\\ or %systemroot%\\system32\\drivers\\etc\\ and hence cannot be edited by normal users.
To edit the host file,
Click Start – search for “Notepad
“, right-click and select “Run as Administrator“. This should launch notepad with elevated privileges. Now, open the host file from the File menu, edit and save.
Now your computer will see
http://earth/index.htm