• 0

how to BAN a page in internet explorer


Question

anibalin

wondering if there is a registry edit-thingy to ban a page in internet exlporer? i was thinking, perhaps, in something like the page could not be resolved (?). Dont know.

will appreciate ne info.

respect.

Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0
Steven P.

go to: C:WINDOWSsystem32driversetc

open the file called "hosts" with Notepad

you will see the following line:

127.0.0.1 localhost

add a new line with the site you want to ban under it:

www.sitename.com localhost

or even more effective, the IP address of the site:

192.169.222.333 localhost

PS: The IP address was an example

Close the file, and thats it.. effect is immediate (in a new browser window)

Edit, oops lol fixed now

Link to post
Share on other sites
  • 0
anibalin

thanks for the kick ass reply.

but i didnt work. probably is my fault.

the hosts file:

...

#

# For example:

#

# 102.54.94.97 rhino.acme.com # source server

# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

www.cnet.com localhost

...

is that wrong?

i closed explorer and opened again but the page is displyed ne way (?)

respect dood.

aniba!

Link to post
Share on other sites
  • 0
Steven P.

looks like you will need to resolve the IP for it to work best..

Try restarting. I remember when Neowin was shuffling around servers I could edit the IP and site name direct into that file and browse immediately.

Resolving the IP is easy.. just open command prompt and type this: ping www.cnet.com

it will ping it and give you the IP at the same time

Link to post
Share on other sites
  • 0
Redmak

It's the otherway around

to block neowin

add

127.0.0.1 www.neowin.net

Link to post
Share on other sites
  • 0
anibalin

doods all of u where right.

1st worked better with just the ip (i think is faster since the dns doesnt have to resolve ne name)

2dn redmak- it was the other way round {:o) ( 127.0.0.1 www.whatever.com (or the ip :o)

million thanks doods!!!

aniba!

Link to post
Share on other sites
  • 0
FISKER_Q

can you add range bans like :

123.112.139.*?

Link to post
Share on other sites
  • 0
me101

nope, wild cards are not allowed, you have to put in all the ip's in manually, sorry... :(

For all the non-windows 2k/xp/nt4 users, the hosts file for win9x/me is located in the %windir% dir, if you have not already found it ;)

I mainly use the hosts file to block ad's and other sites.... :D

Link to post
Share on other sites
  • 0
neojoker

I can't get it to block IPs. Can you run over that one more time? (I can block domain names though, just not IPs.) Thanks.

Link to post
Share on other sites
  • 0
aco

I think it is possible to disable certain websites by using the Content Advisor in IE.

Go to Tools > Internet Options, click on the "Content" tab and Enable the Content Advisor to set it up.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.