How to Block a Website in All Web Browsers
How to Block a Website in All Web Browsers
Step1
Open Windows Explorer and type in C:/Windows/System32/drivers/etc. If Windows isn't installed on the C: drive, substitute the C: for the appropriate drive letter.
Step 2
Double-click on hosts and open the document using Notepad when Windows prompts you. The hosts file tells the system what it should do when specific domains or IP addresses are accessed. This is the file that you are going to edit.
If Windows automatically redirects you, or if hosts opens in another program, simply open Notepad (Start -> All Programs -> Accessories -> Notepad) and then go to hosts by clicking File -> Open inside Notepad.
Step3
Locate the line "127.0.0.1 localhost" or "::1 localhost." Put your cursor at the end of whichever line is lowest down.
Step4
Press "Enter" to create a new line.
Step5
Type in whichever website or websites you wish to block. You can add any site, but you'll will need to preface it with "127.0.0.1".
To block the website reddit.com for example, just type in "127.0.0.1" followed by a single space, followed by "www.facebook.com".
6
Click "File -> Save" in order to save the hosts file. If a prompt comes up saying that you cannot save the file because you are not an administrator, you'll need to change the administrator permissions to include you. To do this:
Right click on the hosts' file, choose Properties -> Security and make sure all the boxes are checked in your user account. This should allow you to save the file as an admin.
Otherwise, save the file to your Desktop and drag the file to where it needs to be. This could work, although it's not as preferable as the above method.
Step1
Open Windows Explorer and type in C:/Windows/System32/drivers/etc. If Windows isn't installed on the C: drive, substitute the C: for the appropriate drive letter.
Step 2
Double-click on hosts and open the document using Notepad when Windows prompts you. The hosts file tells the system what it should do when specific domains or IP addresses are accessed. This is the file that you are going to edit.
If Windows automatically redirects you, or if hosts opens in another program, simply open Notepad (Start -> All Programs -> Accessories -> Notepad) and then go to hosts by clicking File -> Open inside Notepad.
Step3
Locate the line "127.0.0.1 localhost" or "::1 localhost." Put your cursor at the end of whichever line is lowest down.
Step4
Press "Enter" to create a new line.
Step5
Type in whichever website or websites you wish to block. You can add any site, but you'll will need to preface it with "127.0.0.1".
To block the website reddit.com for example, just type in "127.0.0.1" followed by a single space, followed by "www.facebook.com".
6
Click "File -> Save" in order to save the hosts file. If a prompt comes up saying that you cannot save the file because you are not an administrator, you'll need to change the administrator permissions to include you. To do this:
Right click on the hosts' file, choose Properties -> Security and make sure all the boxes are checked in your user account. This should allow you to save the file as an admin.
Otherwise, save the file to your Desktop and drag the file to where it needs to be. This could work, although it's not as preferable as the above method.
How to Block a Website in All Web Browsers
Reviewed by DailyStory
on
02:27
Rating:

No comments: