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