HOSTS FILE NOT WORKING
i Want to block few sites such as orkut, facebook, etc On my Computer. When i searched on net it was written as to edit hosts file & in the end of it put it like this 127.0.0.1 orkut.com 127.0.0.1 facebook.com So it will block all the sites mentioned in the HOST file in thE ABOVE FORMAT. i DiD the same, & then restarted the PC also. But in vain, it still opens all the sites even mentioned in the hosts file. So plsss. can anybody help me how do i block all these sites ???
February 28th, 2010 8:34am

Did you check that the Hosts file had in fact been changed? Ordinarily, you have to run Notepad as an administrator to change it.
Free Windows Admin Tool Kit Click here and download it now
February 28th, 2010 1:13pm

Did you check that the Hosts file had in fact been changed? Ordinarily, you have to run Notepad as an administrator to change it. Yup. I changed the Hosts File, using an administartor privilage. & added that 2 lines at the end of the file. But still it is not working. i Dont know the reason
February 28th, 2010 1:50pm

An easy way to block sites is to use http://www.opendns.com/you can setup a free account and using the dyndns updater and block sites without mesing with the hosts file.If you have access to the router on the network you can also input the opendns servers IP as the default DNS serversand ALL the PC's which use the routers dhcp (DNS settings) will have those sites blocked as well.this allows you to have better control than hosts files as you can allow opendns to auto updated blockes sites which pump out malware / scareware..And you do know you must use a text editor to edit the host file and that you must save it back without an .ext right???
Free Windows Admin Tool Kit Click here and download it now
February 28th, 2010 3:10pm

An easy way to block sites is to use http://www.opendns.com/ you can setup a free account and using the dyndns updater and block sites without mesing with the hosts file. If you have access to the router on the network you can also input the opendns servers IP as the default DNS servers and ALL the PC's which use the routers dhcp (DNS settings) will have those sites blocked as well. this allows you to have better control than hosts files as you can allow opendns to auto updated blockes sites which pump out malware / scareware.. And you do know you must use a text editor to edit the host file and that you must save it back without an .ext right??? Yes. i Have saved the hosts file without an extension. i M not on network. i Need to block those sites just for my home-PC {thats only 1 PC}. This is the link of my HostS fIlE.iF u fEEl anything else is missing then pls. tell me. http://depositfiles.com/files/u0bcmjmol
February 28th, 2010 3:58pm

sorry if you want me to view the host file you will need to unload to your skydrive account.opendns works fine for one
Free Windows Admin Tool Kit Click here and download it now
February 28th, 2010 5:10pm

sorry if you want me to view the host file you will need to unload to your skydrive account. opendns works fine for one http://cid-b8e86b24058a32ba.skydrive.live.com/self.aspx/.Public/hosts Here it is. i'VE uPl0AdEd iT to skydrive\ yes opendns works f9, but it displays msg that URL has been blocked by opendns.. ThAts 0k With me but PlS. just chk it out with hosts file & tell me wats the matter with it. Y is It not working
February 28th, 2010 5:16pm

The host file you uploaded works fine to block those site.I would check the location. open a cmd prompt with adminstrator rights and type in cd D:\Windows\System32\drivers\etcthen do a dir to make sure the hosts does not have an ext.now do edit hosts and make sure that file has the changes you make, you do know you must exit I.E. and restart it before you test right.
Free Windows Admin Tool Kit Click here and download it now
February 28th, 2010 9:44pm

Yeah, I have the same problem as the OP - the damn thing doesn't work. There must be some sort of bug in Windows 7 they haven't found yet. (And spare me rubbish about using other DNS servers or if the file has extension)
June 30th, 2011 7:11pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics