This question already has an answer here:
I would like to access a remote host using a short name. On a system where I have admin rights, I would achieve this by adding an entry in
/etc/hosts file, something like this
Is it possible to achieve this using some other method which does not require modifying /etc/hosts or other admin level or system wide changes?