IIS 8.5 - Redirect from main site to a spefic subfolder within site

Hi All

I'm trying to achieve the following

1. Redirect https://www.mysite.com to https://www.mysite.com/applicationame/Prod/LoginPagege
2. Capture all 404 requests to point to the same login page

Is this possible please? I've tried configuring this in the HTTP Redirect option under Feature View but I'm getting this error
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Thanks in Advance.
CommunicationFinderAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

David Johnson, CD, MVPOwnerCommented:
are you trying to Redirect https://www.mysite.com/default.aspx to https://www.mysite.com/applicationame/Prod/LoginPage.aspx

404 redirect to a specific page
CommunicationFinderAuthor Commented:
Hi David - Thanks!

I'm trying to figure out how to capture all traffic that lands on https://www.mysite.com to https://www.mysite.com/applicationame/Prod/LoginPage

Any ideas?

Thanks!
David Johnson, CD, MVPOwnerCommented:
is the actual page /applicationname/login/default.aspx or /applicaitonname/login.aspx
David Johnson, CD, MVPOwnerCommented:
http redirect
<system.webServer>
    <httpRedirect enabled="true">
      <add wildcard="/" destination="/applicationname/Login/Default.aspx" />
    </httpRedirect>
  </system.webServer>

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
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.