If this is on an Apache server and you have access to a text file on there called .htaccess, you can put a rule in there that will redirect all www.domain.com addresses to domain.com.
As carob stated you can create a htaccess file to do the redirect for you however apache needs to know www. as an alias for the domain name or for apache to have a catch all rule setup for that domain.