Windows 10 Hosts File Location

Windows 10 Hosts File Location


What is Hosts file in Windows 10


The Windows (Linux) file hosts is an operating system file that maps hostnames to IP addresses. It is a plain text file. The hosts file remains an alternative name resolution mechanism.



Host file location Windows 10


Windows 10 host file located in folder:


Host file location Windows 10



How to edit hosts file in Windows 10


If you need edit the hosts file file you mus have administrative privileges.

To edit (modify) hosts file:

  • Click Windows button
  • And type notepad in search bar
  • Make right mouse click on Notepad and then chose Run as Administrator in menu
  • You will asked: “Do you want to allow this app to make changes to your device?
  • Press Yes
  • Then in notepad File -> Open and navigate C:\Windows\System32\drivers\etc

edit hosts file in windows 10



Windows hosts file example


localhost name resolution is handled within DNS itself. localhost
::1 localhost # source server # x client host



If you like what you are reading, please:

Buy me a coffeeBuy me a coffee


Leave a Reply