Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 May 6 '13 at 11:31

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

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

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

Your Answer


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.