Goal: only oneserver.com should be forwarded to otherserver.com RewriteEngine on # redirect all to oneserver.biz towards http://www.otherserver.com/ RewriteCond %{HTTP_HOST} !^oneserver\.biz [OR] RewriteCond %{HTTP_HOST} !^www\.oneserver\.biz [OR] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/(.*) http://www.otherserver.com/ [L,R]