Try to search your question here, if you can't find : Ask Any Question Now ?

Forward a domain but keep URL

HomeCategory: stackoverflowForward a domain but keep URL
julie asked 3 weeks ago

I’d like to send http://app.client-domain.com/ to my Heroku-hosted Rails app at http://www.my-domain.com/.

From research it looks like this would be relatively straightforward (with domain record redirects/forwards like A, MX, CName, etc.)

However, I don’t want http://app.client-domain.com/ to just forward the browser to http://www.my-domain.com… I want it to appear that the user is still on http://app.client-domain.com.

For example, a request to:

http://app.other-domain.com/user/4

would be serving data from:

http://www.my-domain.com/user/4

… but the URL would remain:

http://app.other-domain.com/user/4

Likewise, if a user is sent (via the app) to a new address within the app (like /products/4), the scheme above would be maintained. It would truly look like the app lived at

http://app.other-domain.com/

Is this possible?

1 Answers
Best Answer
Matthias answered 3 weeks ago
Your Answer

1 + 3 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com