I modified hosts file to block google.com and its subdomains but it blocks only the main domain name. It does not block the subdomains. Windows 7 Starter
127.0.0.1 google.com
It blocks google.com but dows not block www.google.com
Then I tried this one: 127.0.0.1 *google.com It didn't helped.