views:

36

answers:

1

I’ve scoured the Internet via Google and could not find if it is possible to host ASP .Net and Ruby on Rails on the same server!

Do you know if it is possible?

If not, would I be able to do this?

www.abc.com – redirects to Page A (hosted on Ruby on Rails server)

jobs.abc.com OR www.abc.com/jobs - redirects user to Page B (hosted on ASP .Net server)

So from the user point of view, they’re both under the same domain name and appear seamless? So perhaps jobs.abc.com points to a different IP address.

Has anyone done this before?

Thank you all.

+1  A: 

Yes, the same physical computer can host RoR and ASP.NET at the same time.

To merge two apps on separate platforms and make them appear as one seamless site is a little more challenging. One not very nice option is to use IFRAMEs to render one site (B) inside another's (A) pages, allowing the top-level URL to still show A's domain, etc.

It sounds like finding out more about the issue you are trying to solve would be a good idea, as going down this road is likely to create a mess in the future, and should be avoided if at all possible.

You can also use sub-domains like you suggested, so that the domain names are similar but not exactly the same.

You will also need to consider how to share authentication, etc., across sites.

RedFilter
Colin