The location of the hosts file depends on your operation system.
Windows XP, Vista and Windows 7 C:\WINDOWS\system32\drivers\etc\hosts
Windows 2000 C:\WINNT\system32\drivers\etc\hosts
Note! Make a backup of the hosts file and put it somewhere safe, in case you mess up.
1. Open the hosts file using Notepad or other plain text editor.
2. Find the line 127.0.0.1 localhost
3. To block, for example, the website youtube.com, add this text under 127.0.0.1 localhost:
127.0.0.1 youtube.com
4. Save and close the Hosts file.
5. Reboot your computer to apply the changes.
6. Try to open www.youtube.com into a browser.
Reposted by Rajib Kazi
Server side coding,ASP,ActiveVFP,CSP,Server-Side ANSI C, ColdFusion, CGI, Erlang with Linux, Yaws, Mnesia, Erlang, Grails (framework) Java, Perl, PHP, Python, e.g. Django (web framework), Real Studio Web Edition, Ruby, e.g. Ruby on Rails, Smalltalk e.g. Seaside, AIDA/Web, SSJS Server-Side JavaScript, e.g. Aptana Jaxer, Mozilla Rhino, WebDNA,Websphere ,.NET and .NET MVC Frameworks.
Sunday, April 28, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment