GameIndustry.eu Logo

2019 2017 2019 2019   2018  2023   2015 
GameIndustry.eu /  Blog /
English Resetting the hosts file


Resetting the hosts file

Published: 13.12.2022

hosts Datei
Resetting the hosts file can be done easily in a few steps. To edit the hosts file you need a normal text editor.

Other tools are not necessary.




Create a new hosts file


If your Windows hosts file has been deleted or corrupted, or to reset the hosts file to default, simply copy and paste the following text into your hosts file.

# 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 handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

If your hosts file does not exist, this can be done quickly.
  1. Create a new text document and paste the text from the code block.
  2. Save the file via "Save as" and "File type: All files (without file extension)" under the name hosts"
  3. Open the directory "%WinDir%\System32\drivers\etc" and copy the newly created file into the directory

If there is already a hosts file in the directory, rename it first if necessary.

Resetting the hosts file can be a useful solution if, for example, unpleasant entries have found their way onto your system due to a virus attack, or if you want to allow connections (for a short time) without making major changes to the existing contents.

It is always advisable to make a backup copy of the original hosts. A ready-made file is offered on the Download page for hosts files files.

 

Your opinion is important – please leave a comment!

×

BB-Code Explanations

Here are the BB-Codes you can use:

  • [b] for bold text: [b]Text[/b] turns into Text
  • [i] for italic text: [i]Text[/i] turns into Text
  • [u] for underlined text: [u]Text[/u] turns into Text
  • [spoiler] for hidden Text: [spoiler]Hidden Text[/spoiler] turns into Hidden Text
  • [url] for hyperlinks: [url]http://example.com[/url] becomes a clickable link  
  • [url=link]text[/url] for named hyperlinks: [url=http://example.com]Visit me[/url] turns into Visit me  
  • [github] for GitHub links: [github]http://github.com/example[/github] turns into a  GitHub-Link

0 Comments