I have one server, server.domain.local that hosts 3+ web applications. I have aliases for all of these apps so I can browse to:
http://alias1/alias1website.htm
http://alias2:alias2port/alias2website.htm
http://alias3:alias3port/alias3website.htm
I need to be able to modify the iisstart.htm with javascript so that depending on the alias a user puts in the browser, it redirects to a site and port w/ address.
Ex: http://alias3 should redirect to http://alias3:alias3port/alias3website.htm.
I know this is possible, I have done it before, I just cannot for the life of me remeber the code.
You could do it with an
ifstatement.