Rails 3 user domains for users on Heroku

I am looking to set up custom domains for users. Very similar to Tumblr.

I understand that the user must point his A record to the IP address. I found information here: Custom domains in a Rails application

Can someone give me an example of this with installing Heroku / Rails 3? Is it possible?

+4
source share
1 answer

If you configure a wildcard DNS address for the main application, you can use :subdomain in config/routes.rb to process your business logic.

+2
source

Source: https://habr.com/ru/post/1435415/


All Articles