redirect for mutiple domains

redirect for mutiple domains

am 04.10.2007 10:12:12 von bjoernurbanek

Hello!

We have an website with different domain addresses:

www.firma1.com
www.firma1.de
www.firma-1.de

I want to set up an relative redirection like this:

http://www.firma??.???/content1 to http://www.firma??.???/content1new

Jow can I solve it without an explicit redirection for each domain?
Maybe relative redirection? ../content1 to ../content1new

How I set it up with IIS6?

Many thanks!

Re: redirect for mutiple domains

am 04.10.2007 12:38:12 von David Wang

On Oct 4, 1:12 am, Björn wrote:
> Hello!
>
> We have an website with different domain addresses:
>
> www.firma1.comwww.firma1.dewww.firma-1.de
>
> I want to set up an relative redirection like this:
>
> http://www.firma??.???/content1tohttp://www.firma??.???/cont ent1new
>
> Jow can I solve it without an explicit redirection for each domain?
> Maybe relative redirection? ../content1 to ../content1new
>
> How I set it up with IIS6?
>
> Many thanks!


It all depends on how you set up the IIS website. If you setup one IIS
website with multiple Host headers for each of those domains, you can
simply set up a single HttpRedirect on that website from /content1 to /
content1new. This will apply for all www.firma1.com www.firma1.de
www.firma-1.de that is mapped to that IIS website.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

Re: redirect for mutiple domains

am 05.10.2007 18:05:18 von Kristofer Gafvert

Hi Björn,

We need more information about your setup to be able to give a complete
answer.

If you have only one website serving all domain names, this will be easy.
If you have multiple websites, there will be more places to do the changes
(perhaps you should set it up so you only have one website?)

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


Björn wrote:

>Hello!
>
>We have an website with different domain addresses:
>
>www.firma1.com
>www.firma1.de
>www.firma-1.de
>
>I want to set up an relative redirection like this:
>
>http://www.firma??.???/content1 to http://www.firma??.???/content1new
>
>Jow can I solve it without an explicit redirection for each domain? Maybe
>relative redirection? ../content1 to ../content1new
>
>How I set it up with IIS6?
>
>Many thanks!