phranque - 7:03 am on Jul 18, 2013 (gmt 0)
welcome to WebmasterWorld, hariram!
here's an extensive discussion which covers many of the issues involved.
once you decide on a canonical hostname, your technical solution will depend on what server you are using.
301 Redirects, www and Non-www - Google SEO News and Discussion forum: