How to BLOCK website...

crazycasper

Well-known member
  • Oct 22, 2008
    2,441
    226
    63
    Negombo
    1. To block websites we need to edit Host file which is usually in C:/Windows/System32/drivers /etc

    2. To edit Hosts file open notepad click open and go to C:/Windows/System32/drivers /etc

    3. Open the host.file which looks like image shown below

    host1.png



    4. Now enter 127.0.0.1 and the "website you want block " without quotes

    hostw.png



    5. You can add all the websites that you want to block in the same format and finally
    click save That's it we have successfully blocked websites by editing the hosts file
     

    Rajeew

    Well-known member
  • Nov 14, 2006
    1,489
    62
    48
    https://www.youtube.com/Thakshanavediya
    1. To block websites we need to edit Host file which is usually in C:/Windows/System32/drivers /etc

    2. To edit Hosts file open notepad click open and go to C:/Windows/System32/drivers /etc

    3. Open the host.file which looks like image shown below

    host1.png



    4. Now enter 127.0.0.1 and the "website you want block " without quotes

    hostw.png



    5. You can add all the websites that you want to block in the same format and finally
    click save That's it we have successfully blocked websites by editing the hosts file

    එල .. ඔය තියෙන්නේ නියමට පැහැදිලි කරලා.

    සමහරවිට දෙතුන් විදියකටම බ්ලොක් කරන්න වෙයි.
    eg: 127.0.0.1 www.yahoo.com
    127.0.0.1 yahoo.com
    127.0.0.1 mail.yahoo.com