How to block websites without using any softwares


If you Want to block a website on your computer,then you just follow the simple step which i have mention below.In this post you have to learn how to block any website with-out any software. Just follow the below steps

Steps to block websites without using any softwares


Step 1. Just Click on the Start Menu and type "CMD" in the Start Search bar.

(shortcut to Open CMD >> (Window Key + R ) >> Type CMD >> And Hit Enter


Step 2. And Type notepad %windir%\system32\drivers\etc\hosts

HOW TO BLOCK WEBSITES WITHOUT USING ANY SOFTWARES

Alternative :- Go to C:\Windows\System32\Drivers\Etc and find the file "hosts". Then open with notepad file.


HOW TO BLOCK WEBSITES WITHOUT USING ANY SOFTWARES

Step 3. When this hosts file is opened in Notepad, at the end of the file you will see something like "127.0.0.1 localhost".

Under "127.0.0.1 localhost" just add another website URL that you want to block.


Note : 127.0.0.1 is just your local i.p address if you have a internet so, just check your i.p address by using ipconfig command.

For Example:-

127.0.0.1 www.abc.com

127.0.0.1 www.youtube.com

127.0.0.1 www.xyz.com


Step 4. Make sure every time you add another website.

Step 5. Save the file and exit.


So, here you go. Restart your browser if it is opened and changes will take place immediately.


Note :-If you want to unblock a website ,so just put # in the begin of your local ip address

example :-
#127.0.0.1 www.youtube.com


For References :-




I hope you enjoyed this article.



Sharing is caring

google
linkedin

About Author

Akash is a co-founder and an aspiring entrepreneur who keeps a close eye on open source, tech giants, and security. Get in touch with him by sending an email (akashchugh1994@gmail.com).


You may also like :-




Leave a Comment

Your email address will not be published. Required fields are marked *




Stay Connected

Popular Posts

Get Latest Stuff Through Email


Who Should Read TechTrick?

All the tricks and tips that TechTrick provides only for educational purpose. If you choose to use the information in TechTrick to break into computer systems maliciously and without authorization, you are on your own. Neither I (TechTrick Admin) nor anyone else associated with TechTrick shall be liable. We are not responsibe for any issues that caused due to informations provided here. So, Try yourself and see the results. You are not losing anything by trying... We are humans, Mistakes are quite natural. Here on TechTrick also have many mistakes..