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

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

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest