How can I redirect IIS 6 Web Site url to a Web site url sub folder ?

How can I redirect IIS 6 Web Site url to a Web site url sub folder ? =

Windows 2003 Server IIS 6 SQL server with web application front end.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Create a default.aspx file in the root of the site, and use Response.Redirect to forward the users to the target page.

Best of luck,
Redirect Using IIS
In internet services manager, right click on the file or folder you wish to redirect.
Select the radio titled "a redirection to a URL".
Enter the page that the page will be redirected to.
Check "The exact url entered above" and the "A permanent redirection for this resource".
Click on 'Apply'.

Redirect using Config File
Specify Redirection Url in Web.Config
<Redirection RequestPath="/Config" Target="~Subfolder/Home.aspx"/>

And Use
Response.Redirect("Target", True)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
You can easily do it using ISAPI Rewrite Lite v2 using the following rule under its httpd.ini

RewriteCond Host: (?:www\.)?\.com
RewriteRule /(?!subfolder/)(.*) /subfolder/$1 [I,L]

make home.aspx as default page under IIS and it'll be automatically picked up.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.