All www. does is tell your browser to use the http:// protocol, they are one and the same.
If the one shows the site and the other doesn't it's purely down to how you have configured it to be shown.
Somewhere in your WP settings you can change the way a browser see's your site, I suggest you start there.