How to Block Facebook From an Office Computer
Blocking websites such as Facebook lets companies ensure that people do not navigate to inappropriate websites during office hours. You need to edit the "host" file in Windows to block a website from being accessed. The "host" file is an administrative file on the computer, and you can block several websites using a text editor such as Notepad on the computer.
Instructions
-
-
1
Click the Windows "Start" button on the computer where you want to block Facebook. Click "Computer" to start Windows Explorer.
-
2
Double-click "Windows," then "system32," then "drivers," then the "etc" directory. Right-click the "host" file and select "Open With." Double-click "Notepad" to open the file with the text editor.
-
-
3
Type the following text at the end of the file:
127.0.0.1 Facebook.com
-
4
Click "File," then click "Save." Close Notepad. Click the Windows "Start" button and type "cmd" in the search text box. Press Enter to open the command line.
-
5
Type "ipconfig /flushdns" and press Enter. This command flushes the current DNS cache, so the Windows computer uses the host file to look up a website's IP address.
-
1