Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Hosts File : Use in Windows 7 / Vista

17 Apr 2010   #20
CarlTR6

Windows 7 Ultimate 32 bit
 
 

Gotcha. Thanks much! That does make it very handy.


My System SpecsSystem Spec
24 Apr 2010   #21
Casca

 

When did this become a rule?

No discussion of ad blocking software - Websites cost money to run and blocking ads is no more than theft of service, if you dont like a sites ads then dont use the site.
My System SpecsSystem Spec
24 Apr 2010   #22
CarlTR6

Windows 7 Ultimate 32 bit
 
 

I don't know; but I can certainly understand the reasoning.
My System SpecsSystem Spec
25 Apr 2010   #23
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

From the "Edit" it seems it was implemented 3 weeks ago, I agree with the rule as well.
My System SpecsSystem Spec
.

25 Apr 2010   #24
Tews

64-bit Windows 8.1 Pro
 
 

This pertains to guests logged on to the site... members dont see the ads...
My System SpecsSystem Spec
25 Apr 2010   #25
Dinesh

Windows® 8 Pro (64-bit)
 
 

Good work Ted.
My System SpecsSystem Spec
25 Apr 2010   #26
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Thanks Dinesh!
My System SpecsSystem Spec
22 Oct 2010   #27
cartel

Windows 7 SP1 Ultimate 64bit
 
 

What exactly does this mean?

# localhost name resolution is handle within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost


is handle?
Or handled?

How do I block sites with the DNS?

Without removing the "#" I have listening UDP ports on all my connections leading to "0www.wixawin.com", the first blocked site in my hosts file.

So without removing the "#" I'm screwing myself.

So how do I block sites via "localhost name resolution is handle within DNS itself."

Whatever that means.
My System SpecsSystem Spec
3 Weeks Ago   #28
avada

Windows 7 amd64
 
 

Isn't there a better way than the hosts file to block domains? I remember it being inefficient. And if you add a lot of stuff in there it will slow down the system.

I would have imagined that the firewall could do it. But it I only saw an option to block IP adresses.
My System SpecsSystem Spec
3 Weeks Ago   #29
Barman58

Windows 10 Pro x64 x2 Windows 10 Enterprise x64, Ubuntu
 
 

This thread is very old and If you wish to receive answers you would be better off creating your own New Thread
My System SpecsSystem Spec
Comment

 Hosts File : Use in Windows 7 / Vista




Tutorial Tools




Similar help and support threads
Windows 7 Tutorial Category
error messages with windows defender, hosts file & microsoft essential
Hi, I can't open my hosts file. i want to block websites. when i right click on the hosts file to run as administrator i get . I cant open windows defender. When i click on it i get error message i can't install microsoft essentials. this just happened recently when i had a virus or malware...
System Security
Hosts file ignored and replaced with hosts.original
Hello. I am trying to use the hosts file. However both pings and web addresses still bypass the hosts file. I noticed that there is another file in the C:\Windows\System32\drivers\etc directory called 'hosts.original'. When ever I delete this file, it reappears seconds later. I have made sure that...
General Discussion
Hosts File
Hey, I was wondering, is there any internet performance gain if you put a commonly used website's IP (like Google) in your Hosts file, so it doesn't need to ask a DNS server? I mean, because I have 30 websites I go on at least 10 times each day, and it lags when I open all of them :D Thanks!
General Discussion
Hosts file-S??
can the hosts file be changed to, or amended by, another file? IOW can there be a file named xyz that essentially replaces the hosts file, or adds entries to it? Possibly by a registry key or configuration setting? Of course it could by altering library fxns, but by other "simpler" means? ...
System Security
HOSTS File - Create a "Edit HOSTS file" Shortcut
How to Create a "Edit HOSTS file" Shortcut in Windows 7 and Vista The HOSTS file is a .txt file used in Vista and Windows 7 to map hostnames to IP addresses. Your computer checks this file first to resolve any network names to its corresponding IP address before it tries to check the Internet....
Tutorials
how to set etc/hosts file in windows 7
I updated the Windows\System32\drivers\etc\hosts file to include static ip addresses of computers on my local network; just like I do it in Vista and XP. But now I tried to access the computers by name, it complains that host 'xyz' cannot be resolved. Why? Simon
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 17:03.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App