Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Asking the same question Multiple domains pointing to single Heroku Rails app via nameservers displaying different content?, but I am on VPS hosting instead of Heroku. I want customers to be able to add domain names dynamically.

How do I config my VPS(ubuntu 12.04) hosting and rails app to do this? I know you can add multiple domain names to Heroku app, how about VPS?

Any help is appreciated!

share|improve this question

migrated from stackoverflow.com May 6 '13 at 11:31

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer

It's an old railscast, but it will definitely point you to the right direction:

http://railscasts.com/episodes/221-subdomains-in-rails-3

share|improve this answer
    
Thanks for the reply, is there a way to do this with a full domain like www.example.com instead of subdomain? :) –  user1883793 May 6 '13 at 3:58
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.