Joe,
Welcome to SitePoint!
The response to your question (assuming co-located files) is simply to test for the new domain and, if not being used, redirect:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^newdomain\.com$ [NC]
RewriteRule .? http://newdomain.com%{REQUEST_URI}
You might benefit from reading the mod_rewrite tutorial linked in my signature as it contains explanations and sample code. It's helped may members and should help you, too.
One of the first things to learn about using .htaccess is DON'T! If you have hundreds of lines, you're abusing your server and should be banned from shared servers (and VPS's). If you seriously need those lines of code, have your host add them to your httpd-vhosts.conf file or into the httpd.conf while specifying your account.
Regards,
DK
Bookmarks