Is it possible to alias a hostname in Linux?

For those who don’t have an account on the forums (or don’t wish to login): if your main issue is not to ping but to ssh, you can create/edit your ~/.ssh/config adding lines like these: Host fakehost1 Hostname real-hostname Host fakehost2 Hostname real-hostname2 Host fakehost3 Hostname real-hostname3

Top level domain/domain suffix for private network?

Since the previous answers to this question were written, there have been a couple of RFCs that alter the guidance somewhat. RFC 6761 discusses special-use domain names without providing specific guidance for private networks. RFC 6762 still recommends not using unregistered TLDs, but also acknowledges that there are cases where it will be done anyway. … Read more

Why does my hostname appear with the address 127.0.1.1 rather than 127.0.0.1 in /etc/hosts?

There isn’t a great deal of difference between the two; 127/8 (eg: 127.0.0.0 => 127.255.255.255) are all bound to the loopback interface. The reason why is documented in the Debian manual in Ch. 5 Network Setup – 5.1.1. The hostname resolution. Ultimately, it is a bug workaround; the original report is 316099.