

# lines or following the machine name denoted by a '#' symbol. # Additionally, comments (such as these) may be inserted on individual # The IP address and the host name should be separated by at least one # be placed in the first column followed by the corresponding host name. # entry should be kept on an individual line. # This file contains the mappings of IP addresses to host names. # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # Copyright (c) 1993-2009 Microsoft Corp. To add an entry or modify the hosts file, simply open the hosts file at the path below using Notepad or any other text editor.Ī similar lines below should appear in the file.

The process of editing Windows 10 hosts file is simple and straightforward. When you’re ready to edit Windows 10 local host file, follow the steps below: Step 1: Open Windows 10 Hosts File The lines starting with # are comments and are ignored. When you’re dealing with hosts file, the IP address and the domain or hostname should be separated by at least one space or tab. If the IP to domain mapping isn’t included in the host file, then it looks up a DNS server online. While translating the name to IP, the local hosts file is the first file your operating look at.
