How to Edit the Hosts File on Windows | VirtualSpecies

How to Edit the Hosts File on Windows

In many cases, we will need to edit the hosts file on our machine. It is used to resolve hosts names before DNS. We can control access to websites and network traffic with this, in case of attack or any other reasons. Follow these simple steps to edit hosts file on your Windows machine_

_Open up the run command with the Win+R key combo.

_Press the Windows key and 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:\Windows\System32\Drivers\etc\hosts

_Make the necessary changes to the file and click File > Save to save your changes.

We need to keep in mind that we should not attempt to edit Hosts file unless we are comfortable to work with necessary tools and have clear reasons to do so.

Check out How to Edit Hosts File on Mac

No comments:

Post a Comment