You did remove the .sam file suffix from "hosts" to leave it as an unsuffixed file, didn't you?
As Windows ships, there's a hosts.sam and an lmhosts.sam which are sample files with sample entries that you need to edit and then rename to remove the .sam (which you'll only see if you've got the folder options set not to hide extensions for known file types.....which is another bugbear!)