Okay, I followed Matt's instructions here and it worked PERFECTLY, just for the record. In fact, I was prepped well enough and had all my shell commands ready, so I did it in under 2 minutes. Smooth as silk. Thanks Matt!
But there's more...
So now, essentially, we are giving out seconddomain.com and if you use URLs based on that address, everything is great. But because we have some domain-specific scripts and apps, and licenses based on that seconddomain.com, we can't allow anyone to ever go to primarydomain.com or tertiarydomain.com ever again by HTTP. So I'm trying to do a .htaccess redirect. I found domain redirect instructions, which seem perfect for what I need. I've modified them a bit and tried them a few different ways, but to no avail.
Here's what I'm trying:
Code:
RewriteEngine On
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^www.primarydomain.com$[OR]
RewriteCond %{HTTP_HOST} ^primarydomain.com$[OR]
RewriteCond %{HTTP_HOST} ^www.tertiarydomain.com$[OR]
RewriteCond %{HTTP_HOST} ^tertiarydomain.com$
RewriteRule ^(.*)$ http://secondarydomain.com/$1 [R=301,L]
Remember, the secondary domain is a parked domain, and I can't change the accoun't primary domain (I'm pretty sure I can't, anyway...).
Any help would be appreciated.