Ask Your Question

Why can I not ping host?

asked 2015-01-04 11:53:34 -0500

Lindh-E gravatar image

In /etc/hosts/ I have server 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?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-01-08 19:24:03 -0500

SantoshHoropter gravatar image

Change your file to # server server.home

you'll be fine.

With regards Horopter

edit flag offensive delete link more

answered 2015-01-05 00:19:37 -0500

pnemade gravatar image

Check this on how to write /etc/hosts file.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-01-04 11:53:34 -0500

Seen: 530 times

Last updated: Jan 08 '15