I am trying to redirect url as abc.xyz.org to 192.168.xx.yy:abcd using htaccess. tried using following in htaccess.
RewriteRule ^(.*)$ 192.168.xx.yy:abcd [P,R=301,L]
but this rule isn't taking the port number.What should I do? i tried
RewriteRule ^(.*)$ 192.168.xx.yy:abcd[b] [P,R=301,L]