You need to know where to go to find the hosts file before you can open it for editing. This is the hosts file location in Windows 10 through Windows XP: C:Windowssystem32driversetc How To Edit The Hosts File The hosts file is a text file, meaning that you need a text editor to m...
Location of your hosts file To modify your current hosts file, look for it in the following places and modify it with a text editor. macOS (until 10.14.x macOS Mojave), iOS, Android, Linux: /etc/hosts file. macOS Catalina: /private/etc/hosts file. Windows: %SystemRoot%\system32\drivers...
How to Edit the Windows HOSTS File In Windows 10, 8, and 7, you can't save edits to the HOSTS file unless you open it directly from Notepad or another text editor. To do so: This step is required because the HOSTS file doesn't have the .TXTfile extension. When files appear in th...
Editing the Hosts File on Windows 10 or Windows 11 The hosts file is still present in the latest and greatest from Microsoft —Windows 10 and Windows 11— despite being ancient by computer standards. It isn't used much in in modern Windows networking, however. The Windows hosts file, like ...
WithNotepad open in administrator mode, you’re ready to open the HOSTS file. Click on theFilemenu and selectOpen. Browse to the directoryC:\Windows\System32\drivers\etc\hosts. Change the file filter drop-down box from “Text Documents (*.txt)” to “All Files“, and select the HOSTS ...
Go toFile>Openin the next window. Click Open after entering the following address in the text box for the file name. You can also access the file manually: C:\Windows\System32\drivers\etc\hosts The select should be changed to “All Files (*.*)” rather than “Text Documents (*.txt)...
Windows 10: Start Button → type cmd→ right-click Command Prompt → "Run as Administrator" You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties. Reloading hosts file Your operating system will cache DNS lookups. You can either rebo...
However regardless of the Windows version, the default Windows host file location is identical, unless you installed the OS in a different partition: C:\Windows\System32\drivers\etc\hosts Step 1: Open Notepad from Windows Menu In this guide, we’ll edit the hosts file on Windows 10. To be...
How to Edit the Windows HOSTS File In Windows 10, 8, and 7, you can't save edits to the HOSTS file unless you open it directly from Notepad or another text editor. To do so: C:\Windows\System32 What If I Can't Save the HOSTS File?
If you seeThere was an error while attempting to read the local hosts file, Event ID 1012in the Event Viewer of your Windows 11/10 computer, follow the solutions mentioned below. Check the hosts file name, type and location Recreate the hosts file ...