Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a rails app that we're trying to migrate t our servers for DNS purposes. The app generates a user url ex ourapp.com/user1.

Say user one wants to point user1.com to their respective subdirectory on our application. How can this be achieved with Phusion Rails, in the vHost file? I know with php you direct them to the sub directory, but I feel this is completely different with rails since it's not running in a directory.

How can I do this?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.