How to Modify the host’s File on Windows 10?

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:
  1. Firstly, launch the Start window.
  2. Now, find for the Notepad option.
  3. Next, right-click on the given result, and then choose Run as administrator option.
  4. Click on the File option, and choose the Open option.
  5. Then, browse for the given path:
  • C:\Windows\System32\Drivers\etc\
  1. Choose All Files option from the scroll-down list.
  2. Subsequently, double-click on the host’s
  3. 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.
  4. 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.

Comments