Any hostname that is directed to your app will be re-written to use change.com. The RewriteCond
allows requests to change.com
to pass through, and and the RewriteRule
rewrites all other URLs.
RewriteEngine On
RewriteCond %{HTTP_HOST} !^(www\.)?change.com$ [NC]
RewriteRule ^(.*)$ http://www.change.com/$1 [L,R]
Oh course, you must have mod_rewrite
enabled. And It may or may not be allowed in .htaccess files depending on your Apache Configuration.
Here is the Apache Documentation on the topic.