[SOLVED] Windows Host File to block website domains?

Help4567

BANNED
Sep 9, 2019
38
3
35
Location Path:
C:\Windows\System32\drivers\etc

For example if i want to block google from tracking and colecting information/ connecting to my network or pc, and also block microsoft update

Copy Paste this in hostfile:

0.0.0.0 google-analytics.com
google-analytics.com
127.0.0.1 google-analytics.com
127.0.0.1 www.google-analytics.com
127.0.0.1 google-analytics.com
127.0.0.1 ssl.google-analytics.com

I have no idea if this is workin and if those adress are correct, anyone there can explain how to corectly use hostfile to block tracking websites like google analytics or microsoft update
Where can i find working URLs that i can block and are there some common urls that everyone should block in general?
 
Last edited:

Help4567

BANNED
Sep 9, 2019
38
3
35
Thank you for sharing this information, PI hole looks like a professional "programm" but i do not want to install any software to block domains i just want to do it with the hosts file i mean thats going to work isnt it?

I want to block google, microsoft, and ofc something to block any ADS/adverstiment
If theres a list i can just copypaste that list in my hostfile please share the list here?
 
Last edited:

TRENDING THREADS