Jun 17, 2020 · Find the file you just saved, right-click, then select Copy. Browse to the file location you used in Step 2. Either: C:\Windows\System32\Drivers\Etc; C:\Windows\Syswow64\Drivers\Etc; Find the hosts file, right-click, then select Rename. Rename the hosts file to hosts old, then select Continue. Press Ctrl+V on your keyboard, then select Continue.
By default the HOSTS file resides in C:\Windows\System32\drivers\etc folder. The HOSTS file is one of the few files in Windows that don’t have a file extension. When you edit the file make sure you do not save it as a .txt file or else it won’t work. Here’s the step-by-step procedure for editing the HOSTS file in Windows 8/8.1. Jun 17, 2020 · Find the file you just saved, right-click, then select Copy. Browse to the file location you used in Step 2. Either: C:\Windows\System32\Drivers\Etc; C:\Windows\Syswow64\Drivers\Etc; Find the hosts file, right-click, then select Rename. Rename the hosts file to hosts old, then select Continue. Press Ctrl+V on your keyboard, then select Continue. Nov 03, 2016 · Press the Windows key and search for Notepad. Once Notepad is available, right-click and select Run as administrator. In your Notepad, Click File > Open and search for the following file: c:\Windows\System32\Drivers\etc\hosts; You can edit the changes as normal ; Click File > Save to save your changes. Let us know how it goes. Oct 22, 2018 · The hosts file in Windows, Mac, or Linux maps hostnames to IP addresses. For example, an intranet, like a corporate office that has servers for users to access, or it could be domain names for servers on the internet. Editing your hosts file can be useful if you are running tests on your network. Jun 24, 2020 · In Notepad, choose File then Open; Navigate to C:\Windows\System32\drivers\etc\hosts or click the address bar at the top and paste in the path and choose Enter. If you don’t readily see the host file in the /etc directory then select All files from the File name: drop-down list, then click on the hosts file.
Sep 11, 2019 · In the file name text box at the bottom, type (or copy and paste) the hosts file location shown above and then press Enter. Select the menu to the right of the text box to change Text Documents (*.txt) to All Files (*). Double-click hosts from the list of files to open the hosts file for editing in Notepad. Editing The Hosts File
Mar 10, 2017 · Editing the Hosts file In Windows 10, the hosts file is located at this path C:Windows\System32\drivers\etc or whatever drive your OS is installed at. The file is locked by the operating system so you can’t edit it directly, at least not with notepad.
Prevent Hosts File From Hijacking. When you type in a URL in the address bar in your browser, it queries a DNS to try and resolve the domain name to an IP address. However the hosts file can be used to bypass this process as it checks the host file before querying the DNS. Use the following instructions if you’re running Linux: Open a Terminal window. Enter the following command to open the hosts file in a text editor: sudo nano /etc/hosts Enter your domain user password. Make the necessary changes to the file. Press Control-X. When you are asked if you want to save