I think people typically use Reverse Proxies in this case. For example you can set up any request for http://a.com to serve the content from http://b.com/a. This page describes it in detail: http://www.apachetutor.org/admin/reverseproxies