microsoft.com in host file doesn't work

Now here is a crazy story, I have an application that connect to www.microsoft.com and download the pages, I wanted to mock the response by adding 127.0.0.1 microsoft.com and setting up default page on my IIS 7,

Guess what that didn't work! <WTF />i double checked this also in browser and it didn't work

Can anyone explain why this is happening?

microsoft.com in host file doesn't work microsoft.com in host file doesn't work Reviewed by Ran Davidovitz on 12:32 PM Rating: 5

1 comment:

Venkatesh N said...

It may be due to the fact that adwares/malwares/virus may take advantage of the hosts file entry and prevent users from downloading the windows update fix pacs from microsoft.com and also microsoft.com can be made redirected to some evil IP on the internet which hosts bad programs and the windows update program in the system downloads them thinking that it is a genuine windows update fixpacs and executes it which further harms the system and spreads the virus.

Powered by Blogger.