Providing Free and Editor Tested Software Downloads
< HOME | TUTORIALS | GEEK-CADE| WEB TOOLS | YOUTUBE | NEWSLETTER | DEALS! | FORUMS | >

MajorGeeks.com - The Few, The Proud, The Geeks.

Software Categories

All In One Tweaks
Android
Antivirus & Malware
Appearance
Back Up
Browsers
CD\DVD\Blu-Ray
Covert Ops
Drivers
Drives (SSD, HDD, USB)
Games
Graphics & Photos
Internet Tools
Linux Distros
MajorGeeks Windows Tweaks
Multimedia
Networking
Office & Productivity
System Tools

Other news

· How To and Tutorials
· Life Hacks and Reviews
· Way Off Base
· MajorGeeks Deals
· News
· Off Base
· Reviews



IObit Black Friday Sale

spread the word

· YouTube
· Facebook
· Instagram
· Twitter
· Pintrest
· RSS/XML Feeds
· News Blur
· Yahoo
· Symbaloo

about

· Top Freeware Picks
· Malware Removal
· Geektionary
· Useful Links
· About Us
· Copyright
· Privacy
· Terms of Service
· How to Uninstall

top downloads

1. GS Auto Clicker
2. Macrium Reflect FREE Edition
3. Smart Defrag
4. MusicBee
5. K-Lite Mega Codec Pack
6. Microsoft Visual C++ 2015-2022 Redistributable Package
7. QRes
8. Sergei Strelec's WinPE
9. Visual C++ Redistributable Runtimes AIO Repack
10. McAfee Removal Tool (MCPR)
More >>

top reads

Star How To Disable (or Uninstall) OneDrive

Star How to Auto-Switch Between Light and Dark Mode With PowerToys

Star How To Automatically Lock Your PC in Windows 11

Star What To Do When Microsoft Flags Unusual Sign-in Activity on Your Account

Star How To Remove the Windows 11 Updated Start Menu

Star How To Disable Drag Tray

Star How To Permanently Delete Files Without Sending Them to the Recycle Bin in Windows 11

Star How To Repair Install Windows 11, and Keep All Your Files and Apps

Star How To Turn Off Folder Backup Syncing on OneDrive

Star AI Actions - What Are They and How To Enable/Disable Them


MajorGeeks.Com » Overview» Tutorials and Video Guides » How to Reset Your Hosts File to Default

How to Reset Your Hosts File to Default

By Timothy Tibbetts

on 06/15/2023

Show your PC some ❤️ Up to 90% off IObit’s top tools + 2 free months for Valentine’s Day
Because your PC doesn't care about Flowers and Candy!

If you're having problems with a modified hosts file, possibly from malware or a third-party app has changed it, then here's how to restore your hosts file to default.

The one thing you need to know is a hosts file is simply a text file. What we're going to do is create a brand new hosts file, then rename and replace the old hosts file.

Here we go.



Open Notepad and copy and paste the following lines into a new text document:

# 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


Click on File > Save As and name the file hosts. Close Notepad.



Click on hosts.txt and rename to hosts by removing .txt. Click yes to confirm the change.

Right-click on hosts and click on Copy.

Open File Explorer and go to C:\Windows\System32\drivers\etc.

Right-click on hosts and rename that to hosts.old. That gives you a backup and you can delete it later.

Click Continue to approve.

Right-click on a blank area and click on Paste.



comments powered by Disqus





© 2000-2026 MajorGeeks.com
Powered by Contentteller® Business Edition