you can rewrite in the .htaccess no need to adjust anything. if people type the www.xxxx.com then it will automatic goes to the xxx.com
This is the content of my .htaccess file: RewriteEngine on RewriteRule ^play-([0-9]+) play.php?id=$1 [L] RewriteRule ^full-([0-9]+) full.php?id=$1 [L] RewriteRule ^cat-([0-9]+)?-p([0-9]+) games.php?cat=$1&page=$2 [L] RewriteRule ^profile-(.*)\.html$ page.php?page=viewprofile&user=$1 [L] RewriteRule ^page-(.*)\.html$ page.php?page=$1 [L] RewriteRule ^rss-(.*)\.xml$ xml.php?action=$1 [L] Options -Indexes What to write and where?
If you not comfortable changing the .htaccess, your web host support people can fix this for you. I would contact them...
If you have access to your DNS settings you have to set a CNAME record with www as alias and the IP of your server as host (the same way you would do for any other subdomain). If you don't have access and got to ask support to do DNS changes you can first check if everything is alright using http://www.dnsstuff.com/ Code (markup):