How To Block Certain Websites On Windows 7
Download Article
Download Article
Exercise y'all want to forbid your kids (or yourself) from visiting a certain website on your computer? While installing a browser extension on Chrome, Edge, or Safari might seem like the answer, it'll simply work to block sites for that browser. If you actually need to make sure nobody can admission a website from whatever web browser, nosotros have yous covered! This wikiHow guide will bear witness you lot how to make a quick edit that will completely block a website site on your PC or Mac.
-
1
Open First . Click the Windows logo in the bottom-left corner of the screen.
-
two
Blazon in notepad. This volition search your computer for the Notepad app.
Advert
-
3
Open up Notepad in administrator mode. Right-click Notepad at the elevation of the Kickoff window, click Run every bit ambassador in the drop-down menu, and click Yes when prompted. The Notepad window will open up.
- If your mouse doesn't have a right-click button, click the right side of the mouse, or use two fingers to click the mouse.
- If your calculator uses a trackpad instead of a mouse, use two fingers to tap the trackpad or press the lesser-right side of the trackpad.
-
four
Click File . It'southward in the peak-left corner of the window. A driblet-down menu will appear.
-
5
Click Open… . This option is almost the top of the File drop-down menu. Doing then opens a File Explorer window.
-
6
Navigate to the "etc" folder. To do so:
- Click This PC on the left side of the File Explorer window.
- Scroll downwards and double-click your hard drive's name (usually OS (C:)) in the middle of the window.
- Double-click the "Windows" folder.
- Scroll down and double-click the "System32" binder.
- Coil down and double-click the "drivers" folder.
- Double-click the "etc" binder.
-
vii
Click the "Text Documents (*.txt)" box. It's in the lower-right side of the window. A drop-down menu will appear.
-
8
Click All Files . This option is in the drop-down menu. You should see several files appear in the master window.
-
9
Remove security from the "hosts" file. Find the "hosts" file in the main Notepad window, then do the post-obit:
- Right-click the "hosts" file.
- Click Backdrop in the drib-down menu.
- Click the Security tab.
- Click Edit.
- Check the "Full Control" box.
- Click OK, and then click Yeah when prompted.
- Click OK.
-
10
Select the "hosts" file. Click the "hosts" file to do so.
-
xi
Click Open up . It's in the lower-right side of the window. The "hosts" file will open in Notepad.
-
12
Create a new line at the bottom of the document. Click the very end of the concluding line on the page, and then press ↵ Enter .
-
13
Add websites to the block listing. To block a website in your computer'due south browsers, do the following:
- Blazon in 127.0.0.1 and press Tab ↹ .
- Type in a website's address without the "www" section (e.g., "facebook.com", "twitter.com").
- Press ↵ Enter to showtime a new line, then repeat the above two steps with other addresses you desire to block.
-
14
Block Google Chrome sites using this method. While you lot tin can block sites in most browsers using the above step, Google Chrome is slightly dissimilar: if you're blocking sites on Google Chrome, you'll need to identify a infinite and so the "world wide web.[site].com" version of the website's accost later on the "[site].com" version.
- To block Facebook, for example, you would type in 127.0.0.i facebook.com www.facebook.com.
- Adding the "http://" or "https://" part of the address likewise (e.g., 127.0.0.i facebook.com https://www.facebook.com can improve the chances of the site being blocked.
-
fifteen
Attempt blocking alternative versions of the website's address.
- IP address — You tin can find a website'due south IP address and so block it in the "hosts" file to preclude people from accessing the website via its IP address.
- Mobile site — By placing "m." in front of a website'south address (e.g., "m.facebook.com" instead of "facebook.com"), you lot can block the mobile version of the website too.
-
16
Replace the existing "hosts" file with the edited one. To do so:
- Click File in the top-left corner of Notepad.
- Click Save Every bit... in the drib-downwardly carte.
- Click the "Relieve every bit blazon" drib-down box, then click All Files in the drop-down menu.
- Click the "hosts" file in the master window to select information technology.
- Click Save, then click Yes when prompted.
-
17
Flush your computer's DNS cache. You lot'll use Control Prompt to perform this activeness. Flushing the DNS cache will foreclose saved browser information from clashing with your blocked sites.
-
xviii
Restart all browsers. If y'all have any browser windows open, shut them and and so re-open them. Any websites y'all added to the "hosts" file should at present be blocked in your browsers.
- If the websites still aren't blocked after restarting your browsers, try restarting your estimator.
Advertisement
-
one
Open Spotlight . Click the magnifying glass icon in the upper-right side of your Mac'due south screen. A text box volition appear.
-
2
Type terminal into Spotlight. This will search your computer for the Concluding app.
-
3
Double-click Terminal. It should be the tiptop selection in the Spotlight search results. Doing then will open the Terminal app.
-
4
Open the "hosts" file. Type in sudo nano /etc/hosts and so press ⏎ Return .
-
five
Enter your Mac's password. Blazon in the password that you employ to log into your Mac, then press ⏎ Return . The "hosts" file will open.
- Final won't evidence your countersign'south letters as you blazon.
-
half dozen
Movement the blinking cursor down to the bottom of the page. Printing the ↓ key until the cursor is at the end of the last line of text on the folio, so printing ⏎ Return .
-
vii
Add websites to the block list. To cake a website in your calculator's browsers, do the post-obit:
- Blazon in 127.0.0.1 and printing Tab ↹ .
- Blazon in a website'southward address without the "www" section (due east.yard., "facebook.com").
- Press ⏎ Return to start a new line, and then repeat the to a higher place two steps with other addresses you want to block.
-
8
Block Google Chrome sites using this method. While you can block sites in most browsers using the above stride, Google Chrome is slightly different: if you lot're blocking sites on Google Chrome, you'll need to place a space so the "world wide web.[site].com" version of the website's accost later the "[site].com" version.
- To block Facebook, for instance, y'all would type in 127.0.0.1 facebook.com world wide web.facebook.com.
- Adding the "http://" or "https://" part of the address every bit well (eastward.g., 127.0.0.1 facebook.com https://www.facebook.com can improve the chances of the site existence blocked.
-
9
Attempt blocking culling versions of the website'south address.
- IP address — You lot tin notice a website'southward IP address and then block it in the "hosts" file to prevent people from accessing the website via its IP address.
- Mobile site — By placing "k." in front of a website'due south accost (e.one thousand., "g.facebook.com" instead of "facebook.com"), you tin block the mobile version of the website as well.
-
10
Save and exit the editor. One time yous have entered all of the sites that you want to block, save and exit by pressing Control+O and then pressing ⏎ Render .
- To exit the hosts file, printing Control+X .
-
11
Flush your estimator's DNS cache. Type in sudo killall -HUP mDNSResponder and printing ⏎ Return . This command will affluent your Mac'southward DNS enshroud, which will ensure that all of the website'south previous data (due east.g., saved passwords) is erased. Your listed site should at present exist blocked in all browsers on your calculator.
- If your computer'southward browsers don't block the site, restart your computer to finalize the changes.
Advertisement
-
ane
Open the Block Site folio. This is the page from which you'll install Block Site.
- Block Site allows y'all to block individual pages or entire websites. It also allows you to set a password so that other computer users can't modify your block list.
-
2
Click Add TO CHROME . It's a blue push button in the upper-right side of the page.
-
iii
Click Add extension when prompted. This option will appear at the top of the folio. Clicking it prompts Block Site to install.
-
4
Click the Block Site icon. Information technology'south a shield-shaped selection in the upper-right side of the Chrome page. A driblet-down carte du jour volition appear.
-
5
Click Edit block sites list . You'll observe this in the drop-down menu. Doing so opens the Block Site page.
- You tin besides click the gear-shaped icon in the top-right corner of the driblet-down menu if you want to open the Block Site page.
-
half-dozen
Enter a website'south accost. Click the "Enter a spider web address" text box near the height of the page, then type in the address of the website that you want to block.
- If you lot want to block a specific page on a website, go to that page, then copy the address by clicking the address bar at the summit of the window and so pressing Ctrl+C (Windows) or ⌘ Control+C (Mac).
-
seven
Click + . Information technology's to the correct of the website text field. Your website will immediately be added to Cake Site's list of blocked websites.
- You can remove your site from Block Site's blacklist at any time by clicking the red circle icon to the correct of the website's URL in the list of blocked sites.
-
8
Click Password Protection . This tab is on the left side of the Block Site page.
-
9
Cheque the "Require a password to access Block Site menu" box. Doing and so will create a countersign text box at the bottom of the page.
- You tin can also cheque the "Enable password access to blocked pages" box if you want your password to allow yous to open blocked sites.
-
10
Scroll downward and enter a password. Type your preferred password (at least v characters) into the text box at the bottom of the folio.
-
11
Click Set up Password . It's to the right of the countersign text field. This will create your password and apply information technology to Block Site.
- When accessing Block Site in the future, you'll need to enter your password earlier y'all tin can add or remove sites.
- If you forget your password to Cake Site, y'all tin can correct-click the Block Site icon and click Remove from Chrome.
-
12
Allow Block Site in Incognito manner. One manner that people can use to become around Cake Site'southward restrictions is by using incognito way, but y'all tin can enable Block Site in incognito to ready this problem:
- Click ⋮
- Select More than tools
- Click Extensions
- Click DETAILS beneath the "Block Site" heading.
- Click the grey "Allow in incognito" switch .
Advertisement
-
1
Open Firefox. Its app icon resembles an orange fox wrapped around a blue earth.
-
two
Open the Block Site webpage. This is the location from which you'll download Block Site.
-
3
Click + Add to Firefox . This blue button is in the middle side of the folio. You may have to scroll down to meet it.
-
4
Click Add together when prompted. This is likewise at the summit of the window. Doing and so volition install Block Site in your Firefox browser.
-
5
Click the Block Site app icon. It's an orange, shield-shaped icon in the upper-right side of the window. A drop-down menu will appear.
- You may have to click Got it in the drop-down menu before proceeding.
-
6
Click Edit block sites list . This is in the drib-down menu. Doing then opens the Block Site page.
- You tin also click the gear-shaped icon in the top-right corner of the drop-downwards menu to open the Block Site folio.
-
7
Enter a website's address. Click the "Enter a web accost" text box about the superlative of the page, then blazon in the address of the website that you want to cake.
- If you want to block a specific page on a website, go to that page, so copy the address by clicking the accost bar at the top of the window and then pressing Ctrl+C (Windows) or ⌘ Command+C (Mac).
-
eight
Click + . It's to the right of the website text field. Your website will immediately be added to Cake Site'due south list of blocked websites.
- You can remove your site from Block Site'southward blacklist at any time past clicking the red circle icon to the right of the website'south URL in the list of blocked sites.
-
9
Click Password Protection . This tab is on the left side of the Block Site page.
-
10
Bank check the "Crave a password to access Block Site menu" box. A password text box will appear at the bottom of the page.
- You tin can also check the "Enable countersign admission to blocked pages" box if you want your password to allow you to open blocked sites.
-
11
Scroll downward and enter a password. Type your preferred countersign of at to the lowest degree 5 characters into the text box at the bottom of the page.
-
12
Click Set Password . Information technology's to the right of the countersign text field. This will create your password and utilize it to Block Site.
- When accessing Block Site in the futurity, you lot'll need to enter your password earlier you can add or remove sites.
- If yous forget your password to Cake Site, yous tin can remove information technology from Firefox by clicking ☰, clicking Add-ons, and clicking Remove to the right of "Cake Site" on the Extensions folio.
Advertisement
Add New Question
-
Question
How can I open a file on Windows 7 if I received an "Admission is Denied" message?
Observe notepad.exe in your windows\system32 folder, and choose "Run as Ambassador." So, go to file, open and navigate to the hosts file, and remember to change the bottom file blazon from *.txt to All files.
-
Question
Why did it say that I don't have permission to salvage?
This may happen when a user might not be authorized to save or modify certain organisation files in Windows Bone platform. To alter this, locate the file that you wish to modify. Right-click on the file and select Properties. This opens a popular-upwards window with tools to tweak the file. Side by side, go to the Security tab and highlight the User/User name (aka User Account proper noun) and its permission is displayed in the box below it. To let permission, click on the Edit push button and on the new popular-up window, highlight the User once more and tick the items below to provide necessary permissions.
-
Question
I tried saving, merely it refuses to save. What should I do?
Open up Notepad equally an ambassador. Open up Notepad >> in Notepad: click on file>>open file>>salve.
-
Question
How tin I properly salvage the Notepad file?
You just copy that file to your desktop and edit it, so move it to the System32–>drivers–>etc folder.
-
Question
How do I admission the "hosts" file on Windows 7?
The process for Windows vii is similar to the Windows 10 instructions in the article. Type "notepad" into the text box at the bottom of Showtime, correct-click Notepad and select the "Administrator" option, and and so follow the instructions from there.
-
Question
How do I unblock a site from the "hosts" file?
If you already blocked the site in the "hosts" file, removing the blocked site's line (including the "127.0.0.1" text) volition unblock the site. If yous're trying to get effectually a blocked website on a computer that isn't yours, yous'll accept to apply a proxy website, a VPN, or Tor.
-
Question
What do I do if I can't modify the permissions of the host file?
You should have an Administrator business relationship or run notepad equally Admin and copy the host file lawmaking in there.
Ask a Question
200 characters left
Include your email accost to become a message when this question is answered.
Submit
Advertisement
-
If your computer has a separate account for a child, you can employ parental controls to monitor and restrict their browsing.
Ad
-
Blocking websites with the "hosts" file is a practiced way to prevent any browsers from opening them, only people can still get around the cake by using the mobile version of the website(southward) in question.
Advertizement
About This Article
Article Summary 10
1. Run notepad as an administrator.
2. Go to File > Open.
3. Navigate to C:\Windows\System32\drivers\etc.
4. Remove security from the "hosts" file.
5. Open the "hosts" file.
half-dozen. Blazon "127.0.0.1" at the bottom and press Tab.
seven. Blazon the address you desire to block.
8. Save the file.
Did this summary help y'all?
Thanks to all authors for creating a page that has been read 1,114,520 times.
Is this article up to date?
Source: https://www.wikihow.com/Block-a-Website-on-Your-Computer
Posted by: brittainseatomint.blogspot.com
0 Response to "How To Block Certain Websites On Windows 7"
Post a Comment