This one should do it:
Create file .htaccess inside root web directory.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.*)?$ http://newcomain.com/$1 [R=301,L]
</IfModule>
It will redirect all requests with parameters to the new server