Cannot ping Linux / UNIX / Windows server by name but can ping by its IP address

last updated in Categories , , , , , , , , , ,

Q. I have Debian Linux server in remote data center. I can ping server by its IP but not by hostname such as server.domain.com. How do I ping server by hostname?

A. This is client side DNS problem. All you have to do is setup correct DNS server:

=> Linux DNS Client Configuration

=> Solaris DNS Client Configuration