It is very easy to map remote ip with a hostname.
The file is located under
C:\Windows\System32\drivers\etc\hosts
You need to be an administrator or open notepad to change the file.
In this file, you just need to type ip address of the remote system and the hostname to access it.
Thats it !