During the editing process, many of you accidentally deleted the wrong host file. So if you have accidentally missed, is there any way to recover it? Refer to the article create a new host file when deleting that we provide.
Once you’ve deleted the hosts file, there’s almost no way to restore the default information to its original state. The only way is to create a new host file when mistakenly deleting and pasting the default information. By applying this host file tip, you will get the default host file as it was originally.
Create a new host file when deleting on the computer
Step 1: First use the key combination Windows – R, then enter notepad to open Notepad.
Step 2: Copy the contents of the default host file at the bottom.
# Copyright (c) 1993-1999 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
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a ‘#’ symbol.
# For example:
# 18.104.22.168 rhino.acme.com # source server
# 22.214.171.124 x.acme.com # x client host
Step 3: Paste into Notepad.
Step 4: Save the file as hosts.txt
Step 5: Copy the hosts.txt file to the path C: Windows System32 drivers etc
Step 6: Rename hosts.txt to hosts (remove .txt)
With the above steps you have created a new host file when deleting the wrong success. For added peace of mind, bookmark this article of Taimienphi.vn for reuse when needed. In addition, you can change as well Edit the host file to do for many different jobs on the computer.
These file host tips are quite diverse, not just creating the host file, because file host is an important factor to help access Facebook when blocked or on other blocked websites, so you should find out. The most important host file tricks are to edit the host file, fix the error that the host file cannot be saved because the admin rights have not been established ,,, all these file host tips have been introduced by us. sufficient and detailed.