As I'm moving all my sites from my own server on Linode to site44, I do not have Nginx or Apache for 301 redirects.
If you are doing something like this or if you are using Amazon S3 as your hosting service, then, you may need to redirect your naked domain (example.com) to the www version (www.example.com)
I'm using wwwizer.
All you need to do is create an A record for your naked domain pointing to: 18.104.22.168. You will get a 301 redirect to the www version of your domain.