I'm not sure I understand the problem. Are you saying the subscription was added by IP address instead of by name?
Typically your subscriber would be like 'myserver02', and you would let DNS resolve that to an IP (or else put a manual entry in %windir%\system32\drivers\etc\hosts file for the name => ip resolution)