You are not looking into tnsname.ora all the while.

And the hosts file on Windows is only for TCP/IP host name resolution.

Sanjay