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
Alternative :- Go to C:\Windows\System32\Drivers\Etc and find the file "hosts". Then open with notepad file.
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 :-