Ver originalRewriteEngine OnRewriteCond %{HTTP_HOST} ^1\.1\.1\.1:5200RewriteRule (.*) http://sub.dominio.com/$1 [R=301,L]