Best way to Block Accessing given URL’s in Windows

Go To directory
C:\Windows\System32\drivers\etc
open hosts file in notepad and add following text and save it.make sure you are the admin of the system else you may not be able to modify this file.site name and domain select as you need.in this case what windows system does is send request with the given site name to to the network address that we provided.since 127 is private ip range it does not redirect to any web site on internet.so this will shows server not found message.

127.0.0.1 www.sitename.com

1 comment:

Empowering the Future of API Management: Unveiling the Journey of WSO2 API Platform for Kubernetes (APK) Project and the Anticipated Alpha Release

  Introduction In the ever-evolving realm of API management, our journey embarked on the APK project eight months ago, and now, with great a...