Can ping ip but not name


I have a situation here where I could ping an IP of a computer but how come I couldn't ping with its computer name?

1. Incorrect WINS and DNS settings.

2. Incorrect TCP/IP settings

3. Check lmhosts and hosts files