It depends a bit on your web host...
However my host allows full control over .htaccess files and the use of mod_rewrite and i created a simple text file and named it .htaccess (note it must be named exactly as indicated.)
Inside it i used the following syntax...
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.jaxweather.net
RewriteRule (.+) http://jaxweather.net/$1 [R=301,L]
As I placed this at the upper level of my web root this forces anyone visiting my site using '
www.jaxweather.net' to see the address as 'jaxweather.net' instead...
Note that the syntax may be slightly different depending on host and more on this may be viewed here:
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html-Bob