/hosts

My personal Windows Host file

OtherNOASSERTION

Windows Hosts File Repository

Overview

This repository is dedicated to maintaining and version-controlling the Windows Hosts file. The hosts file is a text file that maps hostnames to IP addresses, and by editing it, you can effectively block ads and tracking on your Windows computer.

Contents

The hosts file in this repository contains over 1,900 lines of entries that block ads and tracking from a variety of sources, including:

  • Ads from major ad networks, such as Google AdSense, Facebook Audience Network, and Amazon Advertising
  • Tracking cookies from ad networks and other companies
  • Tracking scripts from ad networks and other companies

Purpose

The primary purpose of this repository is to provide a comprehensive hosts file tailored for blocking ads and tracking on Windows computers. The entries in the hosts file redirect requests to the local machine (127.0.0.1), preventing unwanted content from being loaded.

How to Use

To use this hosts file on your Windows system, follow these steps:

  1. Open Notepad as an administrator.
  2. Navigate to C:\Windows\System32\drivers\etc\hosts.
  3. Copy and paste the contents of the hosts file from this repository into your local hosts file.
  4. Save the hosts file.

After saving the hosts file, restart your computer for the changes to take effect.

Important Notes

  • This hosts file is designed to block ads and tracking on all Windows computers, but it may not block all ads or tracking attempts.
  • If you encounter any issues or wish to revert the changes, you can restore the original hosts file by following these steps:
    1. Open Notepad as an administrator.
    2. Navigate to C:\Windows\System32\drivers\etc\hosts.
    3. Delete all contents of the hosts file.
    4. Save the hosts file.

License

This repository is licensed under the my Personal License.

Feel free to contribute, suggest improvements, or report issues through GitHub issues or pull requests. Use this hosts file responsibly, and remember to have a backup before making any changes.