Why can I not ping host?
In /etc/hosts/
I have
192.0.2.1 server example.com server.home
I can ssh into either and ping server successfully but if I try to ping server.home it says ping: unknown host server.home
.
Why is this?