• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 762
  • Last Modified:

Redirecting Hostname to port and directory


I have a data service listening at a port and directory, I want to use a nice URl so people dont have to type in the port with the following slashes. I have IIS 6.0 and 2003 server.
the url currently looks like this: I want it to look like this: http://sync.mydata.com. This is not a browser based app so a redirect wont work, I have already tried.
1 Solution
You would be looking for something like ISAPI Rewrite, which allows for address rewriting on the backend without users knowing the difference.

This uses regular expressions (regex) and is using the same concepts as Apache rewrite mod.  

You'll use DNS and a different IP. First you will need to go to TCP\IP properties for the network connection\Advanced and Add another IP address thats available\not used, then OK and close it out. Under websites in IIS you will create another website (right click new website), then description, then give it the new IP address not that of the server and port 80 should still be fine. In DNS make an alias that points that IP address to the url you want and that should be about it.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now