I purchased a new domain name and in the terms of the purchase, once I take possession of the domain, I need to redirect all traffic to a subdirectory path to the sellers primary domain and preserve the path.
This is only temporary for me while we prep our current site to use the new domain, so I also want all other traffic to this new domain to redirect to my current domains root.
I basically want to fork the traffic to two different domains temporarily.
I'm running Apache 2.2 with mod_rewrite enabled and this will be a virtual directory.
For example, I bought www.mynewdomain.com
. I will configure a virtual directory to handle this URL.
1. Redirect some traffic to their domain.
2. Redirect all remaining requests to the root of my current domain.
Possible? If so, what would the mod_rewrite look like? I've searched for examples, but haven't found a good match for these conditions yet.