WebAug 18, 2024 · Open the Notepad by pressing Win + S, typing "Notepad" in Windows search, and clicking on Run as administrator. In the following window, navigate to File > Open. Type the following location in the text field for File name and click Open. You can also manually navigate to the file. C:\Windows\System32\drivers\etc\hosts. WebJul 1, 2024 · At the end of the file, you can add the addresses to block websites. You just need to add a line to the end of the file using 127.0.0.1. Then put the website name you want to restrict. This will transmit the name of the site to your local PC. To block Google, for example, add "127.0.0.1 www.google.com" to the end of the file without the quotes.
How to Find and Edit a Windows Hosts File - FreeCodecamp
WebApr 11, 2024 · Here’s how you can add it: Open Firefox and click on the Application menu icon in the upper-right corner. Go to Add-Ons and Themes or use the keyboard shortcut CTRL + Shift + A. Click on Extensions from the left panel and click on Find more add-ons. In the Find more add-ons option, select the search bar and then enter Block Site and then ... WebAug 4, 2010 · To block a website, simply add a line like this: 127.0.0.1 example.com. 127.0.0.1 (or Localhost) is the standard hostname given to the address of your computer. … stuart cove snorkel bahamas
How to Block Websites By Editing the HOSTS File in Windows
WebMar 1, 2024 · Adding an entry is a touch odd but works OK. Click in the IP Address column and add the address (note 0.0.0.0 is not accepted), Press Tab or click in the Hostname … WebDec 13, 2024 · Click File Click Save As... Click Text Documents, then click All Files in the drop-down menu. Click the "hosts" file. Click Save Click Yes when prompted. Method 2 On Mac 1 Open Spotlight . Click the magnifying glass icon in the top-right side of your Mac's screen. 2 Type terminal into Spotlight. WebApr 11, 2024 · Navigate to the following path: C:\Windows\system32\drivers\etc. Right-click on the Hosts file and click Open with. Then, select Notepad to open the Hosts file. If … stuart cove shark dive