Is it possible to create a Mod Rewrite rule to point a subdomain to a TLD? Example; cars.test.com -> Mycarsite.com
Am using the shared cookie, tables (for the users), and Domain access in D7. Now all I need to do is craft a rewrite rule that can point all the requests going to subdomain.tld.com to goto mytld.com.
CLARIFICATION/EDIT: This is specifically a drupal question. I shared the users with test.com & cars.test.com so that I can do a single sign on. So I did the typical adjustments to settings.php and crafted the single db with prefixes per site. The only "out of the box solution" that works with D7 for an SSO solution is sharing the DB and and sharing cookies. I got that part working. Now this is the part that am experimenting with but am not sure its possible. I want all requests that goto cars.test.com appear as if they are coming from mytld.com. I already have mytld.com parked on the host. But when I goto cars.test.com using the mod rerewrite rules from @acouch below, it redirects me test.com. Is this possible?