Is it possible to alias a hostname in Linux?
It has been asked by jmillikin at various Ubuntu forums as follows:
# Real host # Aliases
realhost fakehost1 fakehost2 fakehost3
Somebody has answered about ssh, but not about ping, etc. My main
purpose is to use it as an alias for a Subversion server. In my case, realhost
is under a dynamic IP address. So, the "/etc/hosts" alias doesn't work. I want to
access my Subversion server as svn://my_svnserver/my_repos
instead of
svn://realhost/my_repos
.