Scripte göre .htaccess üzerinden yapabilirsin. Eski sitenin .htaccess dosyasına:

#Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)$ http://www.siteadiburaya.com/$1 [R=301,L]
bu kodları ekleyip bir dene