Rating is available when the video has been rented. Please try again now or at a later time. Aman Arora 27,494 views 0:53 How to block websites on your computer using the hosts file (without downloading any programs) - Duration: 5:16. BEST OF HOW-TO GEEK 7 Ways To Free Up Disk Space on Your OS X Mac How to Take Pinhole Photos with a Digital Camera How to Easily Create Your Own have a peek here
Then, enter your administrative password when prompted. Because there is no default program set to open a file type like this, double clicking the hosts file will simply give you a Windows prompt, asking you which program you Next, type "sudo nano /etc/hosts" and hit Enter on the Terminal command line to open up your hosts file in a nano box. You'll now see several files, one of which is hosts.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Underneath the last line of text -- it should say something regarding a local host -- enter "127.0.0.1" and press the spacebar. Working...
You should always try without the www first to see if that works. Toby Kuhnert 85,080 views 5:16 Fix - How to Block Websites in Windows 8 - Duration: 3:13. Make Sure that you right click the hosts file and in the properties untick "read only"Then you can follow this guide from microsofthttp://support.microsoft.com/kb/923947it's just simply that you open notepad as "run How To Block Websites In Windows 7 Hosts File Ways to Bypass the Restriction Because this restriction is put in place by the Windows Defender (formerly known as Microsoft Security Essentials) antivirus included with Windows 8, you have several options
Start, then click Restore. How To Block A Website In Windows 7 Sign in to make your opinion count. Ofurpesi says: 5 years ago Open notepad as an administrator (right click, run as admin) choose open file, browse to hosts file, edit it and save Chris says: 5 years ago Most of this unwanted content comes from known ad servers and known malicious websites.
This file allows you to manually associate IP addresses with domain names (i.e., google.com) so the Domain Name Server (DNS) can quickly resolve an address. Tweet Like Google+ Leave a Reply Cancel reply Your email address will not be published. How To Block Websites Using Host File Windows 7 You're sitting at your desk at work, fiddling with some spreadsheets or documents online when you get a sudden urge to take a peek at Facebook. How To Block A Website On Chrome For example, the following lines would block both facebook.com and example.com:127.0.0.1 facebook.com127.0.0.1 example.comSave the file after you're done.
This is my hosts file [site URLs changed]: # Copyright (c) 1993-2006 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This navigate here Next, type "sudo dscacheutil -flushcache" and press Enter to flush your existing cache and put the changes into effect. For each name present in this file, a connection will be opened to the defined IP address. SHOW ME NOW CNET © CBS Interactive Inc. / All Rights Reserved. How To Block All Websites Using Host File
Required fields are marked *Comment Name * Email * Website Subscribe to Our Newsletter Featured Posts5 Ways to Make Sure No One is Monitoring Your ComputerHDG Explains - Swapfile.sys, Hiberfil.sys and Microsoft isn’t just doing this to annoy us – there’s a good reason for it. Beware that there are special instructions for Windows Vista and Windows 7. Check This Out Fru1TStanD 160,414 views 3:41 Cannot Edit the C:\Windows\System32\drivers\etc\hosts file ☛ 100% Working on how to edit hosts file - Duration: 3:31.
Sorry, there was a problem flagging this post. Host File Block Website List Articles l l Everything You Can Do With Your iPhone's Secret "Interrogation Codes" How to Speed Up Chrome and Fix Errors Without Reinstalling It What Is This HDMI ARC Port on Altering host files Block using Windows hosts file Blocking specific websites in Windows is child's play -- and usually childproof.
Using MacOS hosts file Blocking websites using MacOS works in a similar fashion to blocking them using Windows. Some people use this trick to block websites – for example, you could point Facebook.com at 127.0.0.1, which is your computer’s local IP address. He began blogging in 2007 and quit his job in 2010 to blog full-time. How To Block A Website On Windows 10 Published on Dec 24, 2012IN DEPTH INSTRUCTIONS--------------------------------------Windows 8 won't allow you to block websites by modifying your hosts file.
For Windows XP/2000 users only In Windows XP and Windows 2000, if your HOSTS file gets to large (over 135 kb), the DNS Client (a system service) will cause problems on You may now edit the hosts file normally. Disclaimer: Altering your computer's hosts file to block a website can be a little technical. http://easygiftsoftware.com/how-to/how-to-install-pc-camera-in-windows-7.html Loading...
Sign in to add this to Watch Later Add to Loading playlists... You can just say if there's a request for url.com to go to the new IP address, 127.0.0.1 –Canadian Luke Jul 30 '15 at 18:00 add a comment| 4 Answers 4 Latest update on October 13, 2014 at 08:30 AM by jak58. Step 2: Double-click hosts and select Notepad when prompted to choose a program to open the file with. Alternatively, you can launch Notepad and navigate to the host file by choosing File > Open, and
By cons, if the website isn't listed in the hosts file, your ISP will automatically connect you to the IP address of the requested website. Address - In order for it to work, it should read like this. 127.0.0.1 localhost 127.0.0.2 badsite.com 127.0.0.3 anotherbadsite.com 127.0.0.4 yetanotherbadsite.com 127.0.0.5 worsesite.com 127.0.0.6 worstsite.com cj says: 4 years ago The BradenP19 252,889 views 5:29 How to Modify the Hosts File in Windows 10 - Duration: 3:16. Is an overfitted model necessarily useless?
Click "Run As Administrator"4. Continue to add websites you wish to block in this manner, each beginning with"127.0.0.1." followed by a space and the appropriate website. Defining the HOSTS file The HOSTS file is located in the following locations for the respective versions of Windows: Windows 7, Windows Vista, Windows XP, Windows Server 2003: C:\WINDOWS\system32\drivers\etc Windows 2000: It's a simple process and a great way to restrict users from seeing content you don't want them to see, regardless the browser and the time of day.
Many, such as avast! To do that, just open a command prompt (click on Start and type in CMD) and type in the following command: ping examplewebsite.com In my example, I pinged Adobe.com. Working...