India Broadband Forum


Blocking a few web pages

This is a discussion on Blocking a few web pages within the Broadband How to forums, part of the Indian Broadband Forums category; obviously it will break btw u can do one thing, create a hosts file and block all the sites you ...

Go Back   India Broadband Forum > Indian Broadband Forums > Broadband How to

India Broadband Forum


Broadband How to All sorts of technical know how related to internet connections, modems, routers and switches besides other equipment you use for internet connectivity

                      

Reply

 

LinkBack Thread Tools Display Modes
Old 07-29-09, 03:20 PM   #21
newprouser
Guest
 
Posts: n/a
Default

obviously it will break

btw u can do one thing, create a hosts file and block all the sites you want and copy it into his computer.
but it will work only in explorer i guess.
  Reply With Quote
Old 07-29-09, 03:23 PM   #22
Junior Member
 
Join Date: Oct 2008
Location: Ghaziabad
Age: 24
Posts: 41
Rep Power: 2
shirish_kal is on a distinguished road
Default Chalega Seems like a good option

Can u tell me a bit in detail about this host file...and what am i supposed to do
shirish_kal is offline   Reply With Quote
Old 07-29-09, 03:28 PM   #23
Jedi knight
 
Luke Skywalker's Avatar
 
Join Date: Jul 2009
Location: IBF
Age: 21
Posts: 1,816
Rep Power: 5
Luke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the rough
Default

still not able to open. I issued equivalent of ipconfig /flushdns in linux:- /etc/init.d/nscd restart

But I am able using proxycommander.com
Luke Skywalker is offline   Reply With Quote
Old 07-29-09, 03:30 PM   #24
Platinum Member
 
Archer's Avatar
 
Join Date: Aug 2008
Location: Kerala
Posts: 2,824
Rep Power: 6
Archer is a jewel in the roughArcher is a jewel in the roughArcher is a jewel in the rough
Default

After checking the program myself, what it really does is edit the hosts file in Windows-> System32-> Drivers-> etc. The block will remain even if you uninstall the application without removing the block. Then you will then need to manually remove the entries (eg:127.0.0.1 rapidshare.com) from the hosts file.
Archer is offline   Reply With Quote
Old 07-29-09, 03:30 PM   #25
newprouser
Guest
 
Posts: n/a
Default

Open notepad and type the following :

Quote:

127.0.0.1 localhost
127.0.0.1 insider.msg.yahoo.com
127.0.0.1 <blocked site name>
save as "hosts"

Important: Be doubly sure that while saving the file, there should be no extension like ".txt"

Goto his system and paste in

C:\WINDOWS\system32\drivers\etc

If you want yyou can make a SFX from winzip or winrar.
  Reply With Quote
Old 07-29-09, 03:33 PM   #26
newprouser
Guest
 
Posts: n/a
Default

hiosts.png
  Reply With Quote
Old 07-29-09, 03:38 PM   #27
 
Admin's Avatar
 
Join Date: Jan 2006
Location: New Delhi
Age: 32
Posts: 4,700
Rep Power: 12
Admin is just really niceAdmin is just really niceAdmin is just really niceAdmin is just really niceAdmin is just really nice
Default

Quote:
Originally Posted by Luke Skywalker View Post
still not able to open. I issued equivalent of ipconfig /flushdns in linux:- /etc/init.d/nscd restart

But I am able using proxycommander.com
Try pinging : 174.132.169.58

And see what results you get.
Admin is offline   Reply With Quote
Old 07-29-09, 03:39 PM   #28
Senior Member & Mod
 
Join Date: Jan 2009
Location: Delhi
Posts: 3,303
Blog Entries: 3
Rep Power: 8
mickey is a glorious beacon of lightmickey is a glorious beacon of lightmickey is a glorious beacon of lightmickey is a glorious beacon of lightmickey is a glorious beacon of light
Default

Quote:
Originally Posted by newprouser View Post
arrey i'm surprised your talking like this. You are running a browsing center, you should know better.

If government rule is like you have to block porn sites but you want to do so without your customers knowing about it what will you do ???

Are you cheating them too ???


lolumg didnt read that... sorry bro..
mickey is offline   Reply With Quote
Old 07-29-09, 03:40 PM   #29
Jedi knight
 
Luke Skywalker's Avatar
 
Join Date: Jul 2009
Location: IBF
Age: 21
Posts: 1,816
Rep Power: 5
Luke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the rough
Default

Quote:
Originally Posted by Admin View Post
Try pinging : 174.132.169.58

And see what results you get.
Getting latency of around 405ms.
Luke Skywalker is offline   Reply With Quote
Old 07-29-09, 04:02 PM   #30
 
Admin's Avatar
 
Join Date: Jan 2006
Location: New Delhi
Age: 32
Posts: 4,700
Rep Power: 12
Admin is just really niceAdmin is just really niceAdmin is just really niceAdmin is just really niceAdmin is just really nice
Default

Quote:
Originally Posted by Luke Skywalker View Post
Getting latency of around 405ms.
So there is no issue with your isp or your internet connection.

Try to open Womens Forum by clicking on the link I have given <

Now if the page doesn't open press the shift button and click on refresh in your browser.. (Keep the shift button pressed when you click refresh) This should make it work I hope

If its still not working what is the error message you get? server not found?
Admin is offline   Reply With Quote
Old 07-29-09, 08:09 PM   #31
Jedi knight
 
Luke Skywalker's Avatar
 
Join Date: Jul 2009
Location: IBF
Age: 21
Posts: 1,816
Rep Power: 5
Luke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the rough
Default

I am getting again & again:-




Quote:
Womens Forum could not be found. Please check the name and try again.

The browser could not find the host server for the provided address.
* Did you make a mistake when typing the domain? (e.g. "ww.mozilla.org" instead of "www.mozilla.org")

* Are you certain this domain address exists? Its registration may have expired.

* Are you unable to browse other sites? Check your network connection and DNS server settings.

* Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.
I am able to ping but not trace route (tracert or PathPing in windows) the IP given. What does it mean?


PS: I have gone somewhere that's why I was not able to reply.
Luke Skywalker is offline   Reply With Quote
Old 07-30-09, 12:19 PM   #32
Bronze Member
 
Join Date: May 2009
Location: Hyderabad
Posts: 130
Rep Power: 1
Glass is on a distinguished road
Default

Quote:
Originally Posted by shirish_kal View Post
Well its a nice tool can u tell me one thing if i block a site he will obviously find out from control panel and if he uninstalls the software the ban will continue or will it break...

And mickey am sorry u seemed to have been hurt by my message it was probably because of the way i wrote it i din't mention about it being my office
He is connected directly to net via a switch we all are connected to switch in pppoe
Try HostsExpert - it will automate a good part of editing the hosts file, and safely.

Most antivirus programs (e.g., Avast), Firewalls (Comodo) have blocking feature for specified sites. Often these can block with wildcards too - e.g., *rapidshare* will block all sites with the word rapidshare in the address. However the browser will generally display a message the site was blocked by this program.

You could also use Peerguardian without enabling its tray icon and create your own lists to block.
Glass is offline   Reply With Quote
Old 07-30-09, 06:10 PM   #33
Junior Member
 
Join Date: Oct 2008
Location: Ghaziabad
Age: 24
Posts: 41
Rep Power: 2
shirish_kal is on a distinguished road
Default Regarding DHCP

Thnx i guess am gonna try changing the host file .... I have one more query regarding DHCP
I have two modems that r evenly distributed to various PC's now i want the same person i was talking above to connect via one particular router all the time so i have changed his gateway as 192.168.1.1 because thats the most common one and changed other router to 192.168.0.1 now my problem is its ok as long as it is static IP but if he goes for auto mode then it picks 192.168.0.1 how can i avoid that ... I was thinking if i can disable DHCP can anybody tell me if there will be any effects and how to do it as well

Thnx for so many suggestions and replies friends This forum really is great
shirish_kal is offline   Reply With Quote
Reply

Tags
blocking, pages, web

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may 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


Similar Threads

Thread Thread Starter Forum Replies Last Post
Cannot access web pages ashy BSNL broadband 2 07-13-09 10:21 PM
Who is Blocking the speed ??? tushar88 BSNL broadband 8 02-10-09 12:53 AM
Google allowing Google Pages users to place AdSense on their pages Admin Software News, Previews and Reviews 2 11-27-08 11:18 AM
BsNl is Blocking parshanth BSNL broadband 17 09-18-08 12:56 AM
web pages not opening ronitdiwan BSNL broadband 1 01-06-08 08:49 AM


All times are GMT +5.5. The time now is 11:39 AM.


India Broadband Forum