RewriteEngine On
RewriteCond %{HTTP_HOST} site.com
RewriteRule (.*) http://newsite.com/$1 [R=301,L]