I surfed a lot , googled a lot , read/watched railscasts but could not get the solution.
Below is my problem.
- I wanted a parent domain www.xyz.com. This parent domain will have two subdomains abc.xyz.com and def.xyz.com.
The parent domain will have a admin user who has capability to create/manage subdomains.
The subdomains should an a siteadmin user who can edit the site information.
Each subdomain will have its own home page.
The site admin of one subdomain should not be able to edit the other subdomain.
They need to share the same database.
I checked a lot, But could not get the answer.
Please help me to progess i am stuck.