How to block Websites in your Computer



Hi Guys .....................................! :)
Today i am going to tell you how to block any website in your computer without any software .

I am giving you the example of facebook. and you can give any website address instead of facebook that you want to block.
  Blocking Facebook On Your Computer
This Might be helpful to you . So lets get started.
1. Go to Start > Programmes > Accesories 
2. Then Right click on Notepad and Run it as administrator. 
3. Now open host file by clicking on File > Open and locate to following address
C:\WINDOWS\system32\drivers\etc
4. Then just below # 127.0.0.1 localhost paste folowing code 
# Blocking Facebook 
127.0.0.1 login.facebook.com 
127.0.0.1 www.facebook.com 
127.0.0.1 apps.facebook.com 
127.0.0.1 blog.facebook.com
5. Now save the host file and done. 
6. Open any browser and try to open facebook. It won't open. If facebook opens then you might have done somthing wrong. 

OR
You can also open the hosts file by pressing Win+R butten then type the code :- notepad %windir%\system32\drivers\etc\hosts and Hit Enter.

Alternately, go to C:\Windows\System32\Drivers\Etc and find the file“hosts”. Open that file in Notepad.


Note:- Make sure every time you add another website, the last digit of the address 127.0.0.x should not be the same.

Any problem regarding this ... then don't hesitate!! jus comment there and don't forget to share this(Don't be selfish)
Thanks........... 

Share this:

ABOUT THE AUTHOR

Ceyron Louis

Just a Comman Man,Tech Geek,Software Engineer,Web Designer,Social Media Outreach Specialist and a Pro Blogger.

0 comments:

Post a Comment

it will be great if you share your view about the same.