How to Edit Your Hosts File in Windows 10
Here are the steps for editing your hosts file:
- Click the Windows button and type Notepad in the search bar.
- Run as Administrator by selecting Notepad with the right click mouse .
- You’ll be asked, “Do you want to allow this app to make changes to your device?”. Choose Yes.
- In Notepad, choose File then Open.
- Navigate to C:\Windows\System32\drivers\etc\
- open host file in nodepade and edit e.g [IP address space hostname] xx.xx.xx.xxx myhostname
- Finally, you will want to flush your DNS cache for your computer to recognize changes to the file. Click the Windows button and search command prompt
- Type the following command in the terminal and press Enter
PS D:\> ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
Comments
Post a Comment