I would like to redirect URL through web.config
by .htaccess the code looks like this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^dominio.com.br$ [OR]
RewriteCond %{HTTP_HOST} ^www.dominio.com.br$
RewriteRule (.*)$ http://outrodominio.com.br/en [R=301,L]
</IfModule>
I would like to know a way to do this on an IIS server