Redirection is not possible at DNS ( if that is what you meant ) level. DNS is supposed to be for name resolution and redirection should be done at web server level. You can redirect the domain name based on the web server you use ( using htaccess rule with Apache as an example ).
The best an clean way is with .htaccess file: RewriteCond %{HTTP_HOST} ^site.com$ [NC] RewriteRule ^(.*)$ http://www.site.com/$1 [R=301,L] Code (markup):