RewriteEngine On RewriteCond %{HTTP_HOST} ^adminfuel.com RewriteRule (.*) http://www.adminfuel/$1 [R=301,L]