Block mobile.twitter.com using etc/hosts

I'd like to block the webpage mobile.twitter.com using etc/hosts. Using this code, I can block many websites including twitter.com, but mobile.twitter.com works normally

127.0.0.1
127.0.0.1 twitter.com
127.0.0.1
127.0.0.1 mobile.twitter.com

*Windows 10

3

1 Answer

As @davidgo pointed out in the comments, you just need to clear all the cache data from your browser (if it's Chrome, just press Ctrl + Shift + Delete) but your host file is alright.

After clearing cache, open Command Prompt and flush your DNS with the following command: ipconfig/flushdns.  This should work.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like