Jump to content

Virtual directory on IIS 6


DaNuGai
 Share

Recommended Posts

I have IIS 6.0 running on windows server 2003.I have a website running on port 80 and I just installed this application that runs on the same server but on a different port (8090). Now is there a way to create a virtual link in IIS that would allow me to link the application thats on a different port. In other words, I would like to enter http://<server-name>/Application as oppose to http://<server-name>:8090The problem is the application uses it's proprietary engine so I can't just create a virtual directory.Thanks in advance :)

Link to comment
Share on other sites

Can't you create a Virtual Directory that points to a URL? It looks like you can in IIS 5.1.
How? When I create a new virtual directory it requires a path to a hard drive or network location. It will not allow me to enter a URL.
Link to comment
Share on other sites

How? When I create a new virtual directory it requires a path to a hard drive or network location. It will not allow me to enter a URL.
In IIS 5.1, you create the virtual directory, just like you've described - point it to the C: drive or something. Then, once it's created, you edit the properties and, on the Virtual Directory tab, you can change the settings from hosting the content from "A directory located on this computer" to "A redirection to a URL".The more I played around with it, though, the less I think it's what you want. If you were to create a virtual directory at http://<servername>/Application and have it redirect to http://<servername>:8080,'>http://<servername>:8080, it would do just that - it would redirect the browser to the http://<servername>:8080 and that address would be in the address bar of the browser.
Link to comment
Share on other sites

Yeah it does redirect to the other url so I will return to my first opinion tha ###### can't be done. You had me excited for a minute when I thought it might work :)
Heh, sorry about that. :)
Link to comment
Share on other sites

  • 3 weeks later...

cant you just create a page at http://server/Application/index.html which is a redirect page (as follows):

<html><head><title>Loading</title></head><body><h3>Please wait...</h3><script type="text/javascript">location.href = "http://server:8090";</script></body></html>

Link to comment
Share on other sites

cant you just create a page at http://server/Application/index.html which is a redirect page (as follows):
But then what if he wants to go to http://server:8090/Directory? He can't type in http://server/Application/Directory then...
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...