Usually, the syntax in the /etc/hosts file is
IP hostname alias1 alias2
but I want to make something like
but I don't want to specify the SERVER IP in the file, only the host name.
Is there any way to achieve it, with this file or any other? Thanks.