How To Add Hosts In Windows?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Open the Start menu, then type “Notepad” and press Enter. The Notepad app should open.
2. In Notepad, go to File > Open, and navigate to the following directory: C:\Windows\system32\drivers\etc
3. Change the file type drop down menu from “Text Documents (*.txt)” to “All Files (*.*)”.
4. Select the hosts file and click Open.
5. Once the file is open, add the new host information at the bottom of the document. Make sure to include both the IP address and the hostname.
For example:
127.0.0.1 examplehost.com
6. Save the file and exit Notepad.
7. Open a command prompt window by searching for “cmd” in the Start menu.
8. In the command prompt window, type “ipconfig /flushdns” and press Enter.
9. Restart your computer for the changes to take effect.