If you have Media Temple web hosting with the GS or Grid Service this is a really quick and easy way to setup a 301 redirect to divert all traffic from one domain to another
After logging in go to the Account Center select Overview -> Admin
Select File Manager
Select the domain name you want to divert the traffic AWAY from
Select the HTML folder
Select the .htaccess file or upload a copy of one if there isn’t one there
Add the code below to the .htaccess file substituting ‘yourmainwebsite.com’ for you want to divert the website to.
RewriteRule (.*) http://www.yourmainwebsite.com/$1 [R=301,L]
Click save changes and you’re done.
This diverts all traffic to the other site. There is a great tutorial about 301 redirect codes you can use with .htaccess giles here: