Can you set up a website to make a default redirect to a virtual directory?
I tried to do this but it overrode every single website in my setup to that redirect.
I want to be able to open http://mywebsite/ and have that redirect somewhere.
Can you set up a website to make a default redirect to a virtual directory?
I tried to do this but it overrode every single website in my setup to that redirect.
I want to be able to open http://mywebsite/ and have that redirect somewhere.
For IIS 6, set the content source to "Another directory".
IIS 7 introduces URL rewriting which lets you easily build a rule to do this redirect.
Have you tried editing/creating the Default.html in your wwwroot folder?
The following Javascript will redirect to where you want:
I would do the redirection from /default.asp. You can use something like:
Though note that this won't be transparent to the user. They will see the URL they typed in change.
JR