How to Open Windows Host File?

Posted in  windows | 2022-04-01

Hosts File/Edit

Open the Start menu .
In the Run box, type Notepad.exe and press Enter.
In Notepad, select File then Open.
Navigate to C:\Windows\System32\drivers\etc.
Change the file type to open from Text Documents *.
Open the hosts file.
Read the comments in the host file.

How do I Open a Host File?

Press Windows Key + R. Type %WinDir%\System32\Drivers\Etc into the Run window and click OK. Open the hosts file with a text editor such as Notepad.

How do I Open Hosts File in Windows 10?

Select Start > All Programs > Accessories > Notepad.
Select File > Open. In the File name field, enter C:\Windows\System32\Drivers\etc\hosts. Select Open. Make the necessary changes to the file.

Where is my Windows Host File?

Windows users
In Windows 10 the hosts file is located at c:\Windows\System32\Drivers\etc\hosts. Right click on Notepad in your start menu and select “Run as Administrator”. This is crucial to ensure you can make the required changes to the file.

How do I Use Host File?

Open up the Terminal;
Use the nano command line text editor or a different one you have available to open up the hosts file.
Add the appropriate changes in the hosts file;
Use the Control and X key combination to save the changes.

How To Edit Hosts File in Windows 10