The hosts file is only a mapping from names to an IP. You can specify multiple names next to an IP like this:
127.0.0.1 name1 name2 name3.domain
The hosts file is only a mapping from names to an IP. You can specify multiple names next to an IP like this:
127.0.0.1 name1 name2 name3.domain