RewriteCond %{HTTP_HOST} ^www.eskidomain.com$
RewriteRule ^(.*)$ http://yenidomain.com/$1 [L,R=301]

bu kod yanılmıyorsam değil mi?