DocumentRoot /s/apache2/htdocs/elliottcable_com ServerName elliottcable.com ServerAlias www.elliottcable.com # Rewriterules below RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L]