Question:
How to reset host file?
Caitlin
2012-08-24 10:59:24 UTC
My (mean) brother set the host file so almost all the sites i go on says its busy and i found out he set the host file. How do i set it to default or edit so my brother can't go on his sites?
Three answers:
anonymous
2012-08-24 11:03:35 UTC
You can reset your host file by following these simple steps i hope your problem is solved :)
anonymous
2012-08-24 11:02:47 UTC
To reset the Hosts file back to the default, follow these steps:



# Click Start, click Run, type %systemroot% \system32\drivers\etc, and then click OK.

#Rename the Hosts file to Hosts.old.

# Create a new default hosts file. To do this, follow these steps:

# right-click an open space in the %WinDir%\System32\Drivers\Etc folder, point to New, click Text Document, type hosts, and then press Enter.

#Click Yes to confirm that the file name extension will not be .txt.

#Open the new Hosts file in a text editor. For example, open the file in Notepad.

#Copy the following text to the file:



For Windows XP or for Windows Server 2003



# 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

# 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



127.0.0.1 localhost



For Windows Vista or for Windows Server 2008



# Copyright (c) 1993-2006 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



127.0.0.1 localhost

::1 localhost



For Windows 7



# Copyright (c) 1993-2006 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



Save and then close the file.
anonymous
2012-08-24 12:35:25 UTC
Microsoft hostfile fix (to default): http://support.microsoft.com/kb/972034


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...