You can do this by adding a .htaccess file to your site's home directory(e.g. publice_html).
Then you can force all requests to the non-www version of your url to go to the www version. Just add this code to the blank .htaccess file.
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.your_domain.com$
RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301]
Make sure to change the above urls to your domains' url. There are probably lot's of references floating around google you can check out for this too.
Bookmarks