IIS Redirection - command line

Posted by clklachu on Stack Overflow See other posts from Stack Overflow or by clklachu
Published on 2011-01-12T04:49:33Z Indexed on 2011/01/12 4:53 UTC
Read the original article Hit count: 167

Filed under:
|
|

I have a website say www.mywebsite.com/demo . When ever if anyone requests this site, i want to navigate to another website www.myanotherwebsite.com . I know that this can be done in IIS by using the HTTP Redirect feature. But since i want to do this for different websites, I would like to write a bat file which would run the command to set the redirect url for a website. Can anyone please help me how to set the redirection URL through command line?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about iis