
March 1st, 2012, 01:01 PM
|
 |
Lost in code
|
|
|
|
|
It is not possible.
If A.com and B.com are hosted on the same server, then you could configure Apache to serve both domains from the same code base. Thus B.com/C/d.html would point to the same file as A.com/C/d.html. The address bar would still show whatever domain you used to access the site.
If A.com and B.com are hosted on different servers, then you could configure the A.com server to act as a proxy server for B.com. So the user sends a request to A.com for /C/d.html, then A.com sends a request to B.com/C/d.html, then it returns the result back to the user.
|