Quickly generate an htaccess file to Redirect from www to non-www and vice versa.
You can redirect all of the requests for www.yourdomain.com to domain.com by modifying your website's . htaccess file.