Add the following to your .htaccess file to remove the WWW. from the beginning of the URL.

# Rewrite www.example.com → example.com 
<IfModule mod_rewrite.c> 
RewriteCond %{HTTPS} !=on 
RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L] 
</IfModule>