Best Practice for Multidomain Rails Shop Setup -
i'm developing new rails app has multiple shops on different domains different content. best practice this?
i'm thinking of running 1 app , serve multiple domains , set shop shop.find_by_domain(request.host)
or that.
or better have 1 rails app every domain?
thanks in advance.
have looked subdomains?
here railscast : http://railscasts.com/episodes/221-subdomains-in-rails-3
and can use 37 signals 'pow' gem. don't need different rails apps rather multi-tenant application.
check out shopify.com , big rails app different shop model.
Comments
Post a Comment