Windows Server 2102 R2 - IIS 8.5 redirection assistance ?
Hi,
How can I configure the IIS 8.5 in my Windows Server 2012 R2 to redirect:
www.domain.com/app to point to the www.domain.com (under the same webserver) ?
Because at the moment:
www.domain.com/app --> is showing IIS 404
www.domain.com --> works fine as my primary website.
Thanks.
Windows Server 2012Microsoft IIS Web ServerWeb Servers.NET App Servers
Last Comment
Albert Widjaja
8/22/2022 - Mon
Dan McFadden
Is there a directory path that exists to that destination? Or are you asking that any http error 404s get redirected to your home page?
Dan
Albert Widjaja
ASKER
I just want it to be redirected to standardise and make user easier to download the mobile app.
Dan McFadden
OK, but still need to know if the URL actually exists. There are different ways to handle the situation. If the path does not exist, you can capture the 404 and redirect. If the path is real, you want to make sure you are only capture the path plus the default page, not any other pages in the path.
Dan