Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1

    Default How to block sites using no www. prefix instead http://


    C:\WINDOWS\system32\drivers\etc\hosts


    hello

    i can block websites in host file if they have www. but i cant block if it starts in http:// and no www

    for expample

    Copyright (c) 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # 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
    127.0.0.1 www.youtube.com
    127.0.0.1 www.tristancafe.com
    127.0.0.1 www.music-code.com
    127.0.0.1 http://youtube.com <<<<<<<<<<<<<<<<<< this one wont block


    but sites that dont use www. instead direct http://youtube.com wont block

    does anyone knows how to block sites in host file even without using the prefix www instead http:://

    thks

  2. #2

    Default Re: How to block sites using no www. prefix instead http://

    ano point mo bro? gusto mo ba e block ang youtube para walang lag ung cafe nyo?

  3. #3

    Default Re: How to block sites using no www. prefix instead http://

    Quote Originally Posted by Freeza
    C:\WINDOWS\system32\drivers\etc\hosts


    hello

    i can block websites in host file if they have www. but i cant block if it starts in http:// and no www

    for expample

    Copyright (c) 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # 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
    127.0.0.1 www.youtube.com
    127.0.0.1 www.tristancafe.com
    127.0.0.1 www.music-code.com
    127.0.0.1 http://youtube.com <<<<<<<<<<<<<<<<<< this one wont block


    but sites that dont use www. instead direct http://youtube.com wont block

    does anyone knows how to block sites in host file even without using the prefix www instead http:://

    thks
    i block lang na sa imong firewall bro.... kay e block jud na niya kong imo ng e add sa firewall.

  4. #4

    Default Re: How to block sites using no www. prefix instead http://

    e specify imo router bro kay nkasuway naman ko ana ako gi block ang http://youtube.com sa ako Dlink na Router

  5. #5
    Junior Member
    Join Date
    Sep 2005
    Gender
    Male
    Posts
    469

    Default Re: How to block sites using no www. prefix instead http://

    btaw add lng sa imo firewall.if ng gamit ka ug router add lng kai bsag unsa imo i add na site ma block rana.

  6. #6

    Default Re: How to block sites using no www. prefix instead http://

    lol! didn't know hosts file is used for blocking. why don't you put both with "www" and without "www"?

  7. #7

    Default Re: How to block sites using no www. prefix instead http://

    bai, tanggala ang "www" butang lng ni

    127.0.0.1 localhost
    127.0.0.1 youtube.com

    127.0.0.1 www.tristancafe.com
    127.0.0.1 www.music-code.com
    127.0.0.1 http://youtube.com <<<<<<<<<<<<<<<<<< this one wont block



    127.0.0.1 localhost
    127.0.0.1 www.youtube.com
    127.0.0.1 www.tristancafe.com
    127.0.0.1 www.music-code.com
    127.0.0.1 http://youtube.com <<<<<<<<<<<<<<<<<< this one wont block


  8. #8

    Default Re: How to block sites using no www. prefix instead http://

    bai,tanggala ang "www"

    127.0.0.1 localhost
    127.0.0.1 youtube.com
    127.0.0.1 www.youtube.com

    suwayi ni bai di ba mo ingon lagi imo customer"UNSA NI DLI LAGI MO DISPLAY ANG YOUTUBE"HEHEHE.........ENJOY...MELVZ

  9. #9

    Default Re: How to block sites using no www. prefix instead http://

    how about bai if blocks all sites exepct youtube.com?i mean youtube.com ray makalusot ba..thanks

  10. #10

    Default Re: How to block sites using no www. prefix instead http://

    @threadstarter

    u der pa ?

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. How to BLOCK sites -
    By fight4love in forum Networking & Internet
    Replies: 24
    Last Post: 11-24-2010, 05:25 PM
  2. how to block a site??????
    By rosaroso in forum Networking & Internet
    Replies: 26
    Last Post: 04-25-2008, 04:28 PM
  3. how to block a site
    By tatam in forum Websites & Multimedia
    Replies: 3
    Last Post: 11-23-2007, 07:27 PM
  4. Replies: 49
    Last Post: 10-21-2007, 10:31 PM
  5. how to blocked all sites except only one!
    By AMD_earl in forum Networking & Internet
    Replies: 1
    Last Post: 08-11-2006, 12:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top