Map the host names of the primary and secondary computers

If you do not have a DNS server to resolve the host names of the primary and secondary computers, you must map their IP address to host names manually.

  1. On the primary computer, go to C:\Windows\System32\drivers\etc and open the hosts file with a text editor such as Notepad.

    You must run the text editor as administrator.

  2. Under the section localhost name resolution is handled within DNS itself, specify the IP address of the primary computer and its host name. On a new line, add the IP address of the secondary computer and its host name.

Repeat the same steps on the secondary computer.