Forcing non-www

Create and enable .htaccess
Once you have done this you will need to add the following code:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]