Browsers ignoring hosts file

Posted by madkris on Super User See other posts from Super User or by madkris
Published on 2011-03-02T14:03:56Z Indexed on 2011/03/02 23:27 UTC
Read the original article Hit count: 357

Filed under:
|
|

Until recently my browsers started to ignore my hosts file. I have Windows 7 operating system installed.

192.168.0.5 livesite.com

I have tried:

  • Clearing browser cache
  • Issued "ipconfig /flushdns" from the command line
  • Issued "ping livesite.com" from the command line (response was "Reply from 192.168.0.5: bytes=32 time=1ms TTL=128")
  • Restarting unit
  • Backing up original hosts file and making a new one
  • Checking lmhosts.sam (everything is commented out)
  • Connecting directly to modem using cable
  • Checked \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath
  • Tried it on another laptop with exactly the specs as I have

Then I tried

  • Changing entry to "127.0.0.1 livesite.com" (ping ok, browser ok)
  • Changing entry to "192.168.0.5 livesite.com" (ping ok, browser ok but only for a sec)
  • Issued "ipconfig /flushdns" from the command line (ping ok, browser not ok)
  • Changing entry to "127.0.0.1 livesite.com" (ping ok, browser ok)
  • Changing entry to "192.168.0.5 livesite.com" (ping ok, browser not ok)
  • Issued "ipconfig /flushdns" from the command line (ping ok, browser not ok)

Any idea why it worked for a moment? Or better yet anything I havent tried or some error I may have overlooked?

© Super User or respective owner

Browsers ignoring hosts file

Posted by madkris on Server Fault See other posts from Server Fault or by madkris
Published on 2011-03-02T14:03:56Z Indexed on 2011/03/02 15:27 UTC
Read the original article Hit count: 357

Filed under:
|
|

Until recently my browsers started to ignore my hosts file. I have Windows 7 operating system installed.

192.168.0.5 livesite.com

I have tried:

  • Clearing browser cache
  • Issued "ipconfig /flushdns" from the command line
  • Issued "ping livesite.com" from the command line (response was "Reply from 192.168.0.5: bytes=32 time=1ms TTL=128")
  • Restarting unit
  • Backing up original hosts file and making a new one
  • Checking lmhosts.sam (everything is commented out)
  • Connecting directly to modem using cable
  • Checked \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath
  • Tried it on another laptop with exactly the specs as I have

Then I tried

  • Changing entry to "127.0.0.1 livesite.com" (ping ok, browser ok)
  • Changing entry to "192.168.0.5 livesite.com" (ping ok, browser ok but only for a sec)
  • Issued "ipconfig /flushdns" from the command line (ping ok, browser not ok)
  • Changing entry to "127.0.0.1 livesite.com" (ping ok, browser ok)
  • Changing entry to "192.168.0.5 livesite.com" (ping ok, browser not ok)
  • Issued "ipconfig /flushdns" from the command line (ping ok, browser not ok)

Any idea why it worked for a moment? Or better yet anything I havent tried or some error I may have overlooked?

© Server Fault or respective owner

Related posts about windows-7

Related posts about hosts