IIS6 HTTP redirect

Posted on 2006-10-26
Last Modified: 2008-02-01
Hi All,

We have lots of websites that host the same content and i'd like to redirect all of them to one URL.

I think this is done an HTTP redirect, but i've no idea how to set one up in IIS.

Any pointers would be cool
Question by:detox1978
LVL 11

Expert Comment

ID: 17816707
So... you have

And you want them all to point to say  Can you provide some additional background?

Author Comment

ID: 17817913
yeah, thats it.

i want 5 URLs'

to all point to

so if a user types in the URL changes to and displays the content of



Expert Comment

ID: 17824636
You could use meta refresh in your html file to point all the other urls to

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

LVL 33

Accepted Solution

humeniuk earned 500 total points
ID: 17825302
To create a redirect in IIS, create a website for each domain.  In the website properties, under the 'Home Directory' tab, select 'A redirection to a URL' rather than 'A directory located on this computer'.  In the 'Redirect to:' field, put  Make sure to check both the boxes marked 'The exact URL entered above' and 'A permanent redirection for this resouce'.

The 'permanent redirection' part makes this a 301/permanent redirect, which is more search engine friendly - something that you want to think about if these are public websites.
LVL 26

Expert Comment

ID: 17830220
Your best bet though, is to have the DNS A record changed to the IP you are redirecting to. Then if you use host headers, add those 5 domains in.
This will avoid the redirect overhead (even if it's small).

Author Comment

ID: 17830715
DireOrbAnt , they are all on the same server so will have the same IP.

Will give humeniuk option a go.
LVL 33

Expert Comment

ID: 17831130
detox1978 -

DireOrbAnt's solution will work if you simply wish to have the website work under each of the five different domains.  However, as noted, this can cause problems if you are hoping to have your website listed in the major search engines.

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now