1. Open "This PC" on your computer and go to C:\Windows\System32\drivers\etc. to locate the hosts file.
2. Right-click on the host file and select "Edit with Notepad++ or Notepad."
3. Copy and paste the config to the hosts file.
127.0.0.1 youtube.com
127.0.0.1 www.youtube.com
127.0.0.1 m.youtube.com
127.0.0.1 website_name.com
127.0.0.1 facebook.com
127.0.0.1 tiktok.com
4. Save the file and try to access the website that you listed in the hosts file. Comment if this post helps you.

