Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8643115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:57:10+00:00 2026-06-12T11:57:10+00:00

I want to create one site with multiple subdomains each of which provide different

  • 0

I want to create one site with multiple subdomains each of which provide different functionality.

All that they have in common are:

  • layout
  • users
  • payments for that users

So, what is the best way to design the architecture (on RoR3):

  • one app with different namespaces
  • few apps with shared users table
  • something else?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T11:57:11+00:00Added an answer on June 12, 2026 at 11:57 am

    If you keep all the websites in the same app, you should be sure that the problem domains are all similar, and functions are going to be similar, and only content is different (e.g. all variants on Q&A sites, but with different content/domains covered). If that’s the case it might be worth keeping them in the same site as it would let you trivially share login info and other stuff like templates/code.

    Otherwise IMHO you’d be better splitting them into separate apps which share code and a users database, but are otherwise distinct, and can diverge as they grow while sharing where it makes sense.

    If you separate the apps, you could put shared code/templates into a gem or library (which is how rails started after all), which you then share between all of them, and/or put any common services into another backend web app which serves them all but is never seen by users.

    Logins won’t persist across domains, so you’ll only be able to share username/pass, not keep them persistently logged in, unless you get into creating a service to do so which talks to all the apps. See this answer for more details.

    How to create a Shared Login Service across Multiple Domains?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create one new model class, which will be extended in all
I want to create a one page site that will use Facebook Connect and
I have created custom posts and I want one page in my site to
i want to create one textbox which accept city or country name and when
I want to create a document with prawn one or more pages long that
I want to create a counter, daily, weekly and all time. Each product in
I have a site that has different type of products with different specifications for
Hi I am trying to create a one page website that contains multiple div's
I want to create one proc like below but it has error on syntax.
Basically I want to create one large object of many object in JavaScript. Something

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.