Home » Questions » Computers [ Ask a new question ]

How do you add an IP address/hostname pair to the host file in Windows 7?

How do you add an IP address/hostname pair to the host file in Windows 7?

Our network IT people hate us, so our IP addresses are not entered into the DNS lookup automatically if we run a non-Windows OS. How do I get my Windows 7 machine to find the non-Windows OS machine by using the hostname?

Asked by: Guest | Views: 112
Total answers/comments: 1
Guest [Entry]

"To edit the hosts file

C:\Windows\system32\drivers\etc\hosts

in Windows 7, you need to run the editor (eg. notepad) as administrator, which you do by
locating it through the Start menu and then right clicking on the editor's icon, then
manually open and edit the hosts file."