tags:

views:

204

answers:

0

Hi,

I want to archive following things using URL Rewrite/Redirect on IIS 7.0

1) http://(www.)xyz.com/ (-with or without preceding www)  => 301 => http://www.xyz.com.in/ (- must have preceding www)
2) http://(www.)xyz.com/example-page (- with or without preceding www)  => 301 =>     http://www.xyz.com.in/example-page (- must have preceding www) 

In short any additional domain e.g "xyz.com" should be redirected to "xyz.com.in"

Please let us know how to do this.

Thanks, Gaurav