For apache in the virtual host file for your site where it says "ServerName" put a new line under it saying "ServerAlias" with the domain without the www i.e.
<VirtualHost *:80>
ServerName
www.domain.com
ServerAlias domain.com
DocumentRoot /home/domain.com/public_html
</VirtualHost>
Then restart apache
_________________
Paid supportHow to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue