I have a Rails 3.2 app on Heroku. It accepts wildcards and subdomains, so each user can have a vanity subdomain, such as a.app.com, b.app.com, etc.
What I want to do is let a user point example.com to a.app.com. What would I have to change in the example.com DNS config to make this work? And what do I change in my app? I am guessing example.com is just a CNAME for a.app.com. But how does my app know what to do -- it needs to know that example.com is really a.app.com. I suppose I could tell the app that -- the user could configure it. Just trying to figure out the proxy madness for this... since a.app.com is a proxy to app.heroku.com. Does example.com have to be a proxy to app.heroku.com? I am guessing that wont work. Any ideas would be awesome. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
