I have an alias 'DATA-SERVER' for many machines in my network. When I try to access DATA-SERVER from a computer (say Computer A), it resolves to some other Computer C and not to A itself. How do I possibly resolve this?
To add the host alias, I modified the Lanmanserver Parameters in the registry by adding 'DATA-SERVER' in Optional Names key.
{I need to have the alias on multiple machines for my program to reroute to the same machine. The alias is hard coded in the program and I can't modify it}
SOLVED : The solution was to add the following entry to the hosts file on the machine
127.0.0.1 'DATA-SERVER'