Sometimes, you may need to edit the ‘hosts’ file to manually override the DNS settings for a specific domain or computer system. Usually, the host’s files have been around it for a very long time in Windows, and it can also be arriving in a handy way in various scenarios. But whatever the reason behind it might be, but it is very simple to edit the host’s file on Windows 10 by using the Notepad.
In this article, you will learn all the steps to modify the host’s files on Windows 10 to map the host names to particular IP addresses. However, the steps are always the same for Windows 8.1, Windows 7, and all the previous versions. The steps are discussing below.
Steps to Edit the ‘host’s File by Using Notepad
To easily edit the host’s file, you need to add two entries, including the IP address of the remote host or any other application to a friendly address which you want to use. Follow the given steps in a proper series to avoid troubles and errors. Here how to do it:
- Firstly, launch the Start window.
- Now, find for the Notepad option.
- Next, right-click on the given result, and then choose Run as administrator option.
- Click on the File option, and choose the Open option.
- Then, browse for the given path:
- Choose All Files option from the scroll-down list.
- Subsequently, double-click on the host’s
- Now, type the IP address of the remote host followed by any computer or domain name which you want to use to reach the device or any application.
- Finally, click on the File option, and then choose ‘Save’ option.
After completing the process, you can test all the changes by opening Command Prompt and using the ping command to confirm that the host is being reached.
Joe Martin is a Microsoft Office expert and has been working in the technical industry since 2002. As a technical expert, Joe has written technical blogs, manuals, white papers, and reviews for many websites such as office.com/setup.