- Press the Windows key.
- Type Notepad in the search field.
- In the search results, right-click Notepad and select Run as administrator.
- From Notepad, open the following file: c:WindowsSystem32Driversetchosts.
- Make the necessary changes to the file.
- Select File > Save to save your changes.
.
Similarly, you may ask, how do I use host file?
Windows 8 and 10
- Press the Windows key (previously Start menu).
- Use the Search option and search for Notepad.
- Right-click Notepad and select Run as administrator.
- From Notepad, open the hosts file at: C:WindowsSystem32Driversetchosts.
- Add the line and save your changes.
One may also ask, how do I view entries in a host file? Checking for Modifications
- Press Windows Key + R.
- Type %WinDir%System32DriversEtc into the Run window and click OK.
- Open the hosts file with a text editor such as Notepad. Hosts will not have a file extension.
- Compare your hosts file with the Microsoft defaults listed below.
- Save the file.
Simply so, what is host file in Windows?
The hosts file is a computer file used in an operating system to map hostnames to IP addresses. The hosts file is a plain-text file and is traditionally named hosts. Windows operating systems contain a file called 'hosts' that will force resolution of your domain name.
Where is the Hosts file in Windows 10?
In Windows 10, your hosts' file is located at: C:WindowsSystem32driversetchosts. You will need to edit the file with administrative privileges. Click the Windows button and type Notepad in the search bar. Right click on Notepad and then Run as Administrator.