How do I unblock a website from my hosts file?

How do I unblock a website from my hosts file?

To Unblock Websites Blocked in the Hosts File, Navigate to the folder C:\Windows\System32\drivers\etc. Select “All Files” from the drop-down menu. Double-click the hosts file. Add the comment symbol # at the beginning of the line that contains the blocked web site you want to unblock.

How do I block websites on Windows hosts?

How to block websites on Windows

  1. To block access to a website, you will need to append a line to the bottom of the hosts file.
  2. The numbers in front of the URL will always be .
  3. To block access to a website, you will need to append a line to the bottom of the hosts file.
  4. The numbers in front of the URL will always be .

How do I block websites with hosts?

Troubleshooting & FAQ

  1. Go to the hosts file: Enter %SystemRoot%\System32\drivers\etc\ in the address bar of the file explorer or enter that string as a Run command.
  2. Right-click on it and click on Properties.
  3. At the bottom of this screen you will see Attributes.
  4. Click on Apply and OK to save your changes.

How do I block a website without a firewall on my computer?

You can block websites using the “hosts” file by redirecting a website address to a blank page on your local computer. Open the Terminal. You’ll need to use the Terminal utility to access the “hosts” file. You can find the Terminal in the Utilities folder.

How do I block YouTUbe hosts?

If you would like to block YouTUbe across all browsers in a computer, follow the steps outlined below:

  1. First, open your computer’s ‘hosts’ file.
  2. Enter a line at the bottom with YouTube’s address >> Type 127.0.
  3. Next, type in 127.0.
  4. Next, save your ‘hosts’ file.
  5. That’s it!

Where is hosts file Windows 7?

Windows 7 and earlier versions of Windows Select Start > Run, type %WinDir%\System32\Drivers\Etc, and then select OK. Select the Hosts file, and rename it “Hosts. old.” Copy or move the Hosts file that you created in step 3 to the %WinDir%\System32\Drivers\Etc folder.