I have a situation where I host several sites on IIS 6, using different ports. The problem is my DNS registrar won't allow the use of a port number, but I wanted to keep the registrar, so I began developing a workaround.
The DNS registrar, for a fictional site called shingle.com, will only allow an ip address or another url. I gave it the url of a webhop, let's call it shingle.hop.com and at the webhop service, I redirect shingle.hop.com to the ip address of my server. The reason for using the intervening webhop is that this service allows me to use the port number, so I can specify 80.222.15.26:81 for example.
Having done this, I can call up shingle.com and it takes me to 80.222.15.26:81
The problem is that I've lost the url shingle.com. Are there any approaches to configuring IIS so that it displays the url name I want (shingle.com) rather than the IP (80.222.15.26:81 ) ?
Can one approach this through configuring the hosted site? or can one write code to systematically rename the url posted back to the browser's address bar?
Thanks!