troubleshooting Question

IIS 7 Http Redirect Issues

Avatar of jkpc21
jkpc21 asked on
Microsoft IIS Web ServerWeb ServersWindows Server 2008
8 Comments1 Solution845 ViewsLast Modified:
I have IIS 7 installed on my Server 2008 machine. My internal domain name and external website have the same name. Lets say my domain is called ""

In my DNS Manager, i have an "A" record set for www to go to "" which is our external website. This works just fine but requires internal users to type www to get to the website instead of just the domain name. In some of the browsers, the www portion is removed automatically so the user then see the IIS 7 page instead of our website.

I setup a HTTP Redirect in IIS with the following settings. I check the box to "redirect requests to this destination" and type in ""

I also check the box that says "Redirect all requess to exact destination (instead of relative to destination)

Finally i change the status code to "Permanent (301)"

I apply all the settings and when i go to my browser and type "" after a few seconds i get an "Internet Explorer cannot display the webpage" message. The address in the address bar changes to http://localhost

As a test, i setup the redirect to go to "" with the same settings and went to my browser and typed "" and the page was redirected to google.

What am i missing and what do i need to do so when someone internally types "" in their browser it will take them to our externally hosted website.


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros