To do SEO-friendly 301 redirection via your httpd.conf within VirtualHost or Directory (this also works via .htaccess)

Redirect permanent / http://newdomain.com/

This will retain the old URL parameters and pass them to the new site. To redirect the whole site to a single new page use RedirectMatch:

RedirectMatch permanent (.)$ http://newdomain.com/