How to Restore Windows Host File Back to Default
You can only restore Windows host file to its default state by copy pasting original version if you adjust host file on your network computer then making a backup of the original file is a good idea. You can create a backup by creating a duplicate copy in the same folder and renaming it.To Restore host file as it is head to the following path:-
C:\Windows\System32\drivers\etcNow right click and choose to edit host file and copy paste following text:-
# Copyright (c) 1993-2009 Microsoft Corp.# # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a ‘#’ symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host # localhost name resolution is handle within DNS itself. # 127.0.0.1 localhost # ::1 localhost
Once file is copied then save it with no suffix same as host file. Now your Windows Host File is restored as it is. You can also use it to assign local domain name to any website.
0 comments:
Post a Comment