is it possible to have two web servers hosted at different places share the same domain name?

Posted by patrick on Server Fault See other posts from Server Fault or by patrick
Published on 2012-10-03T21:20:18Z Indexed on 2012/10/03 21:41 UTC
Read the original article Hit count: 195

say I have a wordpress site:

https://www.foobar.com

and I want to have an entry point to a rails app at a certain subdirectory within that same domain:

https://www.foobar.com/rails_app

I know this is possible if both the wordpress app and the rails app are hosted on the same box, but is this in anyway possible if they are hosted on different boxes?

I do not want to use subdomains because I am trying to allow ajax post requests from one to the other and not having to deal with single origin policy stuff.

© Server Fault or respective owner

Related posts about apache2

Related posts about php