I have spent a good chunk of today searching for someone trying to do what we're attempting, and haven't come across anything that matches. We have three domains that look something like this, each on a different server:
domain.com (home page and Joomla content on LAMP)
ecommerce1.domain.com (proprietary app #1 on IIS server #1)
ecommerce2.domain.com (proprietary app #2 on IIS server #2)
We'd like to consolidate everything under the primary domain instead of linking off to the sumdomains on different servers. But because the proprietary ecommerce apps are running on IIS, we're stumped.
Is there a way to use Mod_Rewrite to direct traffic out to the IIS servers without the visitor feeling like they're being moved to the subdomain? Can we do a rewrite that would make it appear in the address bar that the visitor is still on domain.com rather than the subdomain they're actually on?
Such as URL of h t t p://domain.com/ecommerce1 actually says that in the address bar,
but in reality redirects to h t t p://ecommerce1.domain.com (which is on an external server and not just another directory off the root of domain.com -- and as noted, not another Apache server)?
Also, any thoughts on potentially rewriting the links on the subdomains on IIS to point to the primary domain rather than the subdomain so everything comes into the Apache server to manage the consolidation. Look and feel of the site is consistent across all three domains. We don't want to do this with frames. We believe the current primary + two subs is hurting us on SEO.
Any other thoughts or ideas? Thanks!