Cannot ping Winows 7 machine by hostname [migrated]

view story

http://serverfault.com – I have a home network of a few computers, one of which is an iMac running Mac OS and another is a PC running Windows 7. The PC is able to ping the iMac both by IP and hostname, but the iMac can only ping the PC by IP. I'd like it to be able to ping the PC by hostname as well. (HowTos)