- Back to Home »
- computer tricks , Hacking Tricks , windows »
- How to block and replace a website on a PC
Thursday, August 22, 2013
to block and replace a website on a windows PC, follow the below steps ,
go to My computer=> C drive => Windows=>System32=>drivers=>et c=> host file
Open host file in WordPad or notepad
Now open CMD and type in CMD ping www.google.com then copy the IP Address of Google website
In host file just write the IPaddress of Google website that you copy and name of the website which one you want to block.
Like:
87.248.112.181 www.facebook.com
in this case you will type in URL www.facebook.com but Google website will open.
for block:
type 127.0.0.1 www.facebook.com or www.yahoo.com
it’s not going to open which one you will type.
Hope you found it useful
------------------------------ ------------
How to unblock?
just delete that line from the file
go to My computer=> C drive => Windows=>System32=>drivers=>et
Open host file in WordPad or notepad
Now open CMD and type in CMD ping www.google.com then copy the IP Address of Google website
In host file just write the IPaddress of Google website that you copy and name of the website which one you want to block.
Like:
87.248.112.181 www.facebook.com
in this case you will type in URL www.facebook.com but Google website will open.
for block:
type 127.0.0.1 www.facebook.com or www.yahoo.com
it’s not going to open which one you will type.
Hope you found it useful
------------------------------
How to unblock?
just delete that line from the file