Solved

IIS 7 "HTTP redirect" The page isn't redirecting properly

Posted on 2011-09-21
2
2,695 Views
Last Modified: 2012-05-12
  We have Windows 2008 server and we tried to use the HTTPredirect on IIS and we have this error:
 The page isn't redirecting properly when we have for an example a doman:
www.domain.com
and we want each time the user use www.doman.com then redirect automatic to www.domain.com/test
Then on IIS on the web site www.doman.com on features we clicked twice on HTTP Redirect request, then on redirect requests to the destination the empty box we put: http://www.domain.com/test
Then checked redirect all request to exact destination and then 301 permanent
But when we browse www.doman.xom give the errror at the top.
Any suggestion?
Thank you
0
Comment
Question by:coerrace
2 Comments
 
LVL 28

Accepted Solution

by:
strickdd earned 500 total points
ID: 36580988
This is a problem with an infinite redirect. Since you are redirecting www.domain.com to (essentially) www.domain.com, it will keep redirecting until the browser displays this error.

You need to update your rules to account for this and make sure it is only the root level (no subfolders) that redirects.

The other option would be to add a simple ASP page that does a Response.Redirect("/test")
0
 

Author Closing Comment

by:coerrace
ID: 36581146
I solved doing this like you said on an index.asp on VB:
thispage = Request.ServerVariables("SERVER_NAME")
if thispage = "www.domain.com" then response.redirect("http://www.domain.com/test/") end if

Thank you
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question