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

MajorGeeks.com - The Anti-Social Social Site since 2002

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. Sergei Strelec's WinPE
5. MusicBee Portable
6. MusicBee
7. Visual C++ Redistributable Runtimes AIO Repack
8. WirelessKeyView
9. McAfee Removal Tool (MCPR)
10. Fortect
More >>

top reads

Star Stop Windows 11 From Spying On You: Free Tools and PowerShell

Star AI Answers: Authority Without Accountability

Star Fun with CMD: 5 Windows command-line tools for music, video, and more

Star All the New Features Landing in Windows 11 This December

Star Lossless vs Lossy: When FLAC, APE, and ALAC Beat MP3 and When They Don't

Star Google Search Tricks You'll Actually Use in 2025 and Beyond

Star Fresh PC Checklist: First 12 Things to Do On a New Windows 11 Machine

Star Running AI Models Locally: What They Are, Where to Find Them, and How to Get Started

Star Deciding Between Idle State, Sleep Mode, and Shutdown: What's Best for Your PC?

Star How to Fix VMware Workstation "The Update Server Could Not Be Resolved" Error Installing VMware Tools


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

⚡ Black Friday Blowout! IObit Pro Up to 90% Saving PLUS $5 off! ⚡
Once-a-year pricing on speed, privacy, and protection. Don’t miss the best deal IObit drops all year!

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-2025 MajorGeeks.com
Powered by Contentteller® Business Edition