Solved

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

Posted on 2011-09-21
2
2,823 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

734 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