hosts file location.
Windows XP, Vista and Windows 7 C:\WINDOWS\system32\drivers\etc\hosts
Windows 2000 C:\WINNT\system32\drivers\etc\hosts
Windows XP, Vista and Windows 7 C:\WINDOWS\system32\drivers\etc\hosts
Windows 2000 C:\WINNT\system32\drivers\etc\hosts
#Open the hosts file using Notepad or other plain text editor.
#Find the line 127.0.0.1 localhost
# To block, for example, the website facebook.com, add this text under 127.0.0.1 localhost:
127.0.0.1 facebook.com
#Save and close the Hosts file.
# Reboot your computer to apply the changes.
#Try to open www.facebook.com into a browser.
Make a backup of the hosts file and put it somewhere safe, in case you mess up.
No comments:
Post a Comment