Board index » Web Programming » How to Redirect All Requests to One Page

How to Redirect All Requests to One Page

Web Programming140
Hi, folks!



How can IIS be configured to serve a particular Web page...and serve it

regardless of whatever domain.com URL is requested (e.g. www.domain.com and

www.domain.com/foo/index.aspx both serve www.domain.com/index.aspx

[C:\inetpub\wwwroot\index.aspx])?



TIA,



Bob



--

webguybob-nospam@hotmail.com


-
 

Re:How to Redirect All Requests to One Page

On Jul 12, 10:20 am, WebGuyBob <WebGuy...@discussions.microsoft.com>

wrote:

Quote
Hi, folks!



How can IIS be configured to serve a particular Web page...and serve it

regardless of whatever domain.com URL is requested (e.g.www.domain.comandwww.domain.com/foo/index.aspxboth servewww.domain.com/index.aspx

[C:\inetpub\wwwroot\index.aspx])?



TIA,



Bob



--

webguybob-nos...@hotmail.com





Setup HttpRedirect at the root of www.domain.com to redirect to /

index.aspx for all URLs underneath it.





//David

w3-4u.blogspot.com">w3-4u.blogspot.com

blogs.msdn.com/David.Wang">blogs.msdn.com/David.Wang

//



-

Re:How to Redirect All Requests to One Page

Hi, David.



Thanks for the quick reply. Can you give me a URL that steps me through how

to do that in IIS6?



Thanks,



Bob



--

webguybob-nospam@hotmail.com





"David Wang" wrote:



Quote
On Jul 12, 10:20 am, WebGuyBob <WebGuy...@discussions.microsoft.com>

wrote:

>Hi, folks!

>

>How can IIS be configured to serve a particular Web page...and serve it

>regardless of whatever domain.com URL is requested (e.g.www.domain.comandwww.domain.com/foo/index.aspxboth servewww.domain.com/index.aspx

>[C:\inetpub\wwwroot\index.aspx])?

>

>TIA,

>

>Bob

>

>--

>webguybob-nos...@hotmail.com





Setup HttpRedirect at the root of www.domain.com to redirect to /

index.aspx for all URLs underneath it.





//David

w3-4u.blogspot.com">w3-4u.blogspot.com

blogs.msdn.com/David.Wang">blogs.msdn.com/David.Wang

//





-