I developed a site 2 years ago and with some related keywords my website comes in the first page in google and also display a picture from my site at the first row of the first web search page. But my website was in a sub domain. Few weeks ago I bought another top level domain and want to shift my website to the new domain and want to turn off my previous sub domain. Now how I can tell google as well as yahoo to see the new domain instead of old sub domain?
yeah 301 is the key ... you can create a .htaccess file in the root use this code Redirect Permanent 301 / http://www.new-site.com/ hope it helps