TechEnclave
New Tech Posts
New Market Posts
TechEnclave RuleBook



Comment
 
LinkBack (4) Article Tools
<!-- google_ad_section_start -->How to block Web Sites without any Softwares<!-- google_ad_section_end -->
How to block Web Sites without any Softwares
Published by MysticYogi
8 Jan 05
Member rating
Rate This ReviewN/A
0 users rated N/A% average
Default How to block Web Sites without any Softwares

Steps

1] Browse C:\WINDOWS\system32\drivers\etc
2] Find the file named "HOSTS"
3] Open it in notepad
4] Under "127.0.0.1 localhost" Add 127.0.0.2 sitenameyouwantblocked.com , and that site will no longer be accessable.
5] Done!

-So-

127.0.0.1 localhost
127.0.0.2 www.blockedsite.com

- www.blockedsite.com is now unaccessable


For every site after that you want to add, just add "1" to the last number in the internal ip (127.0.0.2) and then the addy like before.

IE:
127.0.0.3 sms chat
127.0.0.4 sms chat
127.0.0.5 sms chat

This also works with banner sites, just find the host name of the server with the banners and do the same thing with that addy.

Hoep this small tutorial could keep you going in simple way of blocking websites.
Published by
Guest
Posts: n/a

Article Tools

| More



  4 links from elsewhere to this Post. Click to view. #1 (permalink)  
By Safin on 9 Jan 05, 11:07 AM
Default

hey good tut man
Reply With Quote
  #2 (permalink)  
By XTerminator on 10 Jan 05, 10:50 PM
Default

Yo,
Nice way ya hav' there......

8)
Reply With Quote
  #3 (permalink)  
By maximus on 30 Jan 05, 06:28 PM
Default

so all the time... these adblocking softwares r making money out of fooling innocent people
Reply With Quote
  #4 (permalink)  
By Renegade on 30 Jan 05, 08:59 PM
Default

Well not actually. I dont think you would like to block all sites manually, would you?
Besides these softwares do provide you with some added features.... and also a cool lookin interface.

If you have two equally good softwares, one with a winME type interface and other with XP looks which would you prefer.
Reply With Quote
  #5 (permalink)  
By freegum on 31 Jan 05, 06:33 AM
Default

you're far better off using 0.0.0.0 as there'll be no resolution delay. If on the other hand you want to use HOSTS to block ad images then google for-, and install eDexter. In that case continue with 127.0.0.1


YAY
Last edited by freegum; 31 Jan 05 at 06:37 AM..
Reply With Quote
  #6 (permalink)  
By lakiskavala on 12 Aug 07, 05:34 AM
Query Re: How to block webSites without any Softwares

the site i want to block hijackes my firefox browser and dont has a www the site name is DriveCleaner - how can i block this site ?
Reply With Quote
  #7 (permalink)  
By Quad Master on 12 Aug 07, 07:39 AM
Default Re: How to block webSites without any Softwares

This is a very very old trick , really surprised some of u guys dont know abt the Host files.
Reply With Quote
  #8 (permalink)  
By blr_p on 12 Aug 07, 03:10 PM
Default Re: How to block webSites without any Softwares

Exactly, i've been using it for years and it made a 30kbs internet speed quite good.

Author also fails to mention sites that already provide you with a fairly good list of ad-sites to block like this

get that and use as your hosts file

and to really make this work you need edexter (or other webserver) to redirect to some image of your choice, otherwise sites will open slower since it will always be waiting for 127.0.0.1

Opera (or similar) & a good hosts file is really all you need for fast & safe browsing.
Reply With Quote
  #9 (permalink)  
By tifosi on 12 Aug 07, 03:55 PM
Default Re: How to block webSites without any Softwares

The thread's quite old as well
Reply With Quote
  #10 (permalink)  
By crankdoofus on 17 Aug 07, 09:07 PM
Default Re: How to block webSites without any Softwares

I have a six year old Katmai based box, and using 2K entries in my HOSTS file really freaks it out. So I got a better option. I use DNSKong with Edexter. It essentially hijacks all my DNS entries going out and returns 127.0.0.1 and edexter listens on localhost 80 and returns whatever you want it to, the default being simple images. Its list-based to block, whitelist and cache, pretty simple to configure and use.
Reply With Quote
  #11 (permalink)  
By blr_p on 17 Aug 07, 09:35 PM
Default Re: How to block webSites without any Softwares

2k entries ?...what spec is that katmai box ?

my hosts is 35k+ long works fine on the P3, 256MB RAM i'm typing this out with.

Interesting approach with DNS kong tho, opposite to hosts. I still prefer hosts ala the blacklist way as its much easier to maintain. A site has some annoying adds, just figure out the server they come from and i never see them again.
Reply With Quote
  #12 (permalink)  
By ismart on 18 Aug 07, 02:25 PM
Default Re: How to block webSites without any Softwares

i knew it ..yet good infi...
Reply With Quote
  #13 (permalink)  
By crankdoofus on 19 Aug 07, 12:04 PM
Default Re: How to block webSites without any Softwares

Quote:
Originally Posted by blr_p View Post
2k entries ?...what spec is that katmai box ?

my hosts is 35k+ long works fine on the P3, 256MB RAM i'm typing this out with.

Interesting approach with DNS kong tho, opposite to hosts. I still prefer hosts ala the blacklist way as its much easier to maintain. A site has some annoying adds, just figure out the server they come from and i never see them again.
this is a P3-500 128MB RAM and I use for about 2 simultaneous winword docs, utorrent download, Nod32, Tiny firewall, and a couple of applications running in the background.. It was coming to a crawl with more than 2K entries...currently I have about 13K entries in DNSKong and its just another application in the systray. DnsKong also gives me more control to know where exactly I am going while browsing. there are have been a couple of false positives though but i still prefer it to the host file coz of the pattern matching.
Reply With Quote
  #14 (permalink)  
By imdprogamer on 23 Sep 07, 12:46 PM
Default Re: How to block webSites without any Softwares

it didn't help me I tried to block
gmail
yahoo
rediff
spymac
youtube

it doesn't seem to work

any bright ideas guys
Reply With Quote
Comment


Article Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.techenclave.com/guides-and-tutorials/how-block-web-sites-without-any-57.html
Posted By For Type Date
Mumsnet Discussions - VERY URGENT - my friend StoppinatTwo can&#39;t access MN (Site stuff) This thread Refback 29 Feb 08 12:32 PM
Amethyst&#39;s Musings This thread Refback 23 Oct 07 10:35 AM
coffeeandink's bookmarks tagged with "useful" on del.icio.us This thread Refback 9 Oct 07 07:57 PM
How to block websites without software - Tibia Fans - A New Place This thread Refback 5 Nov 06 11:25 PM

Search TechEnclave
Register on TechEnclave to Remove the ads and the sidebar
Have some Fun!


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2