Facebook Hacking.... Click Here


Wednesday, 13 March 2013

Blocking Facebook On Your Computer


I had previously posted about Blocking And Unblocking any websites on your computer. In this tutorial i will teach you to specifically block facebook on your computer. This might be helpfull if you want to prevent students from using facebook in school and colleges or your employees in office. If you are parent and don't want you child to use facebook or any other particular site then follow simple steps given below. So lets get started.

How To Block Facebook ?

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. (let me know if you face any problem)

Blocking Other Website

If you want to block website other then facebook then change facebook address with whatever website you want to block. For example: to block google paste following code below # 127.0.0.1 localhost

# block google
127.0.0.1 www.google.com

Any Question

If you find any difficulty blocking facebook on your computer then leave a comment below i will be glad to help you out. You also like to read some  interesting tutorial given below.

Subscribe To Get FREE Tutorials!


Kindly Bookmark and Share it:


48 comments:

Ranjan Batra on 14 March 2013 12:02 said...

but mine host file or any file named hosts is not on the open list when opens the file from notepad as administrator what to do now?

Ranjan Batra on 15 March 2013 03:39 said...

but @akshay the file is opened but the access to the site is still eligible.but the microsoft security essential pops up that your pc contains virus...which is not wanted.

Fahad Lodhi on 15 March 2013 23:53 said...

Its done...Thanks for the help

TTS HackerzPK on 26 March 2013 19:41 said...

2 years old 4me,,,but thankxXx 4 remember me,,,,!!!

n tell me is there a way 2 hack someone other's host file,,,???

Vaibhav on 1 April 2013 02:15 said...

I M NOT ABLE TO CHANGE MY IP ADRESSESS AS ACCORDING TO UR DIRECTIONS


PLEASE HELP ME OUT

Deepak Puri on 5 April 2013 23:16 said...

hi i tried to block google according to ur directions but it didn't work at all

venkat on 6 April 2013 03:16 said...

it is showing no permission to save and contact administrator

Deepak Puri on 9 April 2013 04:28 said...

thanx 4 ur concern but sorry to say that it didn't work and also i tried this eaelier and this time again i tried it, now i copied above mentioned code(by u) but un4tunately it didn't work. pls tell me 1 thing that in etc folder their are 2 files i.e. imhosts & tmhosts and i paste code in tmhosts file under #127.0.0.1 local host do i done it right.
Also
should i restart my computer or my net connections to see the effect of the changes i made.

Unknown on 11 April 2013 02:58 said...

i have blocked the facebook website as you have shown but when i do the reverse of that the website is not getting unblocked.....plz help

Deepak Puri on 11 April 2013 06:25 said...

thanx for ur concern and help but notning works at all and let it be now i dont want to block any websites for the sake of tricks and i m now fed of it and worried that anything wrong might happen with my pc but i admire u for ur awesome tricks and now i m anaxiously for ur next tricks
ur blog was amazing
once again, thanx for ur concern

Atul Porwal on 5 May 2013 04:39 said...

how can i hack fb without using any software

hajtajer kinga on 6 May 2013 22:57 said...

hy i want to block any 18+ on my google can you help me?thanx

pankaj raj on 12 May 2013 04:24 said...

M nt able to block the facebook, pls help me some clear steps to do this.

Stella Miller on 19 May 2013 14:34 said...

Thanks for the info, however, how would I unblock it then? Thank you so much.

-buy computer accessories-

dayachand saini on 23 May 2013 05:26 said...

dayachand saini

Gaurav raj on 2 June 2013 22:25 said...

pls tell me the reverse pcocess of this awesome tricks......

Gaurav raj on 2 June 2013 22:28 said...

i m not able to unblock again....pls help me

NAMAN JAIN on 8 June 2013 01:00 said...

SIR....MUJSE NAHI HO PA RHA HAI......KAUN SI HOST FILE OPEN KRNI HAI PLZZ SIR HINDI MEIN BTA DIJIYE...........PLZZZZZ........

shahzad Gill on 10 June 2013 04:46 said...

Bro how to unblock my facebook plz tell me.my facebook is blocked.nd i dnt know the process to unblock my facebook plzzz help me brother.how i unblock my facebook in my computer..plzzzzzzzzzzzzzz tell me.....??

Jaspal Singh on 3 July 2013 07:02 said...

hey buddy its not wrking .
so hlp me to sort out of this......

Jaspal Singh on 3 July 2013 07:03 said...

hey buddy its not wrking .
so hlp me to sort out of this......

Saif Ullah on 2 August 2013 23:56 said...

Nice........!
It Really works. We can block as many websites as we want through this method. I think more is easy is to add "0.0.0.0" "space" and website home page url like "www.facebook.com" and hit enter. as shown
o.o.o.o www.facebook.com
0.0.0.0 www.youtube.com
like i explained @clicksforit.blogspot.com

sana afreen on 15 August 2013 01:23 said...

and how to unblock websites

YASHWANT SINGH LODHI on 25 August 2013 22:11 said...

nice..

Bob chest on 27 August 2013 00:46 said...

Thanxs for the good work you saved me alot
I want to block people from downloading movies using torrents on our server but I dont know how to do it, any help is appreciated

Bob

Umesh Gangurde on 23 September 2013 04:13 said...

Guys 'How unlock the Facebook. plz help me

Umesh Gangurde on 23 September 2013 05:01 said...


127.0.0.1 localhost
::1 localhost

Emily Meffert on 28 September 2013 21:43 said...

Will this work with a Mac?

Harshita Jain on 2 October 2013 08:10 said...

i tried to block facebook on my pc but its not working..........

Mayur Fefar on 19 October 2013 22:51 said...

hello i add 127.0.0.1 www.facebook.com in host file but when i start facebook its working and after that again i open host file then www.facebook.com is not there it is deleted....plz help me
thank you

Mayur Fefar on 19 October 2013 22:53 said...

hello i add 127.0.0.1 www.facebook.com in host file but when i start facebook its working and after that again i open host file then www.facebook.com is not there it is deleted....plz help me
thank you

Hrodoy Khan on 20 October 2013 20:25 said...


Our Exchange Server Support Team provides emergency support and assistance. Our Exchange Server experts can log
on remotely to diagnose and fix just about any problem you may be experiencing, 24×7. Today’s advanced remote
desktop tools, which are included with Microsoft Windows Server OS, allow us to rapidly support Microsoft Exchange
just as if we were at your place of business.
Emergency Exchange Support
Emergency Exchange Remote Support

Abhishek Jhajharia on 8 November 2013 21:46 said...

How to block that particular file "host" , because if i can block facebook using this command anyone can unblock facebook by this command. plz help.

Abhishek Jhajharia on 8 November 2013 21:48 said...

How to block that particular file "host" , because if i can block facebook using this command anyone can unblock facebook by this command. plz help.

Sweta Sen on 19 November 2013 20:35 said...

127.0.0.1facebook.com at host file won't work.

krishna on 23 November 2013 03:33 said...

iam not able to do this

i opened hosts file and pasted the below and saved

# 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


iam stil able to open facebook in my lap

Fehad hasan on 1 December 2013 22:21 said...


Thanks for share your great tips about Exchange Server. I have a own service
Emergency Exchange Support. If you need to any help then
you can contact with us. We wil provide 24 hours back up.

kadheejathul thwahira on 2 December 2013 22:40 said...

thanks a lot .it worked on my computer .thanks for the tip


Computer support

Belleystar on 10 December 2013 08:34 said...

Ik krijg het bestand niet opgeslagen op C: \ WINDOWS \ system32 \ drivers \ etc

sweety raval on 11 December 2013 06:29 said...

hey i tried dis method bt host file cnt be saved..it says dat administrstor permission is necessary...nw wat to do??? plz help me...

Furqan Ansari on 22 December 2013 02:58 said...

i need your ebook but i dnt have enough money

Furqan Ansari on 22 December 2013 02:59 said...

Its not Working i m doing it correctly but not working

Nakib Momin on 8 February 2014 07:11 said...

I have posted a simple program to block and unblock facebook check that out by Clicking Here

Lacy Brown on 19 March 2014 02:30 said...

Thank you so much for posting this. I think it is so great that someone is raising awareness on such a problematic issue. I must say I work in tech support
Asus Technical Support

Lacy Brown on 2 April 2014 01:29 said...

really very nice tips Thanks for sharing these tips. I am very impressed with this post thanks again.

Adobe Support

bumbu pecel bali on 14 April 2014 19:39 said...

this is good post...

i like this...

please can you visit here..

http://bantalsilikon01.blogspot.com/
http://bantalkekabumurah.blogspot.com/
http://bantalkekabumurah.blogspot.com/
http://bantalkekabumurah.blogspot.com/
http://bantalsilikon01.blogdetik.com/bantal-silikon-original085-635-945-40/
http://bumbupecel1.blogspot.com/
http://bumbupecel1.blogspot.com/2014/04/bumbu-pecel-enak.html
http://bumbupecel1.blogspot.com/2014/04/kami-menjual-bumbu-pecel-cabe-merah-dan.html

http://marinirseo.blogspot.com/
http://marinirseo.blogspot.com/
http://marinirseo.blogspot.com/


tengs very much...

Rohan kale on 22 April 2014 05:44 said...

can u give easy steps to block fb????
coz after pasting code it still working fb ....
add some snapshots and steps (easy steps plz)...

problems on 17 August 2014 06:49 said...

when i get to step 3 i get something else when i click open file in the note pad

Click Here To add Comment

Post a Comment

Newer Posts Newer Posts