is it possible to have two web servers hosted at different places share the same domain name?
- by patrick
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.