Redirect folder to different server

Posted by yuval on Server Fault See other posts from Server Fault or by yuval
Published on 2010-03-09T00:38:17Z Indexed on 2010/03/09 0:51 UTC
Read the original article Hit count: 592

Filed under:
|
|
|

Just for clarity, I already posted this on StackOverflow and got advice that this better fits in ServerFault.com so here goes:

I know you can redirect subdomains to a different server, but can you do the same with folders?

Say I have example.com. I can redirect mysubdomain.example.com to a different server, but can I redirect example.com/mysubdomain to a different server? I'd like to host a rails app in that folder on a site that runs php while still maintaining good search engines ratings (by not creating a sub domain which in my experience in recognized as a different site).

Any help?

Thanks!

© Server Fault or respective owner

Redirect folder to different server

Posted by yuval on Stack Overflow See other posts from Stack Overflow or by yuval
Published on 2010-03-09T00:31:35Z Indexed on 2010/03/09 0:36 UTC
Read the original article Hit count: 592

Filed under:
|
|
|

I know you can redirect subdomains to a different server, but can you do the same with folders?

Say I have example.com. I can redirect mysubdomain.example.com to a different server, but can I redirect example.com/mysubdomain to a different server? I'd like to host a rails app in that folder on a site that runs php while still maintaining good search engines ratings (by not creating a sub domain which in my experience in recognized as a different site).

Any help?

Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about hosting