Link to home
Start Free TrialLog in
Avatar of detox1978
detox1978Flag for United Kingdom of Great Britain and Northern Ireland

asked on

IIS6 HTTP redirect

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
Avatar of AnthonyP9618
AnthonyP9618
Flag of United States of America image

So... you have

http://www.home1.com
http://www.home2.com
etc...

And you want them all to point to say http://www.home.com?  Can you provide some additional background?
Avatar of detox1978

ASKER

yeah, thats it.


i want 5 URLs'

http://www.home1.com
http://www.home2.com
http://www.home3.com
http://www.home4.com
http://www.home5.com


to all point to
http://www.home.com



so if a user types in http://www.home2.com the URL changes to http://www.home.com and displays the content of http://www.home.com



Thanks



You could use meta refresh in your html file to point all the other urls to www.home.com/index.html

Cheers,
NITADMIN
ASKER CERTIFIED SOLUTION
Avatar of humeniuk
humeniuk
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DireOrbAnt
DireOrbAnt

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).
DireOrbAnt , they are all on the same server so will have the same IP.

Will give humeniuk option a go.
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.