If pinging by server name fails but by IP succeeds, the problem is most likely with name resolution. You can still try flushing DNS on your PC with:
ipconfig /flushdns
You can do a tracert to the server by both name and IP and see if that helps identify an issue in the network.
Make sure you are pointing to the correct DNS server - ipconfig /all
Check the servers DNS entry as well.
Verify that the correct records are registered in the DNS for the server.
You can do an nslookup and see if you are getting errors finding the server (can't resolve name), a timeout which would indicate configuration issues in the environment, a No Response would mean the DNS servers can't be reached or are unavailable.
If your on an older network or not using a DNS server, you could update your host file in Windows\System32\drivers\etc
You can also do that if you don't want to go through all of this and don't have network support where you are. But if the IP changes for that server, it can backfire on you.
Sue