« Previous Next »

Thread: URL fidelity

Last post 02-10-2009 7:24 PM by jeffleese2. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 02-09-2009, 11:00 PM

    URL fidelity

    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!

  • 02-10-2009, 7:34 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,171
    • IIS MVPs

    Re: URL fidelity

    Why are you using different ports?  As long as you have different names, you can use the host header feature.

    http://support.microsoft.com/kb/324287

  • 02-10-2009, 7:24 PM In reply to

    Re: URL fidelity

    Thanks alot, this saved me lots of unecessary effort!

    I also made a mistake, in that I have IIS 7. The same thing works there, just by setting multiple bindings.

Page 1 of 1 (3 items)
Microsoft Communities