I have been researching Drupal and think it's the CMS I want to use for my new site.

My question is how do I build it so I can have multiple subdomains, but all using the same Drupal installation?

As an example, my main site will be www.example.com but my site is about local service companies.

So I want other subdomains like atlanta.example.com, augusta.example.com, and macon.example.com

Now, the MAIN site, www.example.com, will have some general forums, for nationwide conversations.
But I want each sub-domain (atlanta.example.com for example) to have a set of forums that are only for Atlanta.
Additionally, I want the MAIN, NATIONWIDE forums to display on each subdomain's list of forums.

So if you go to www.example.com, you can post on the nationwide forums, and if interested, can click the 'Atlanta' link and be sent to atlanta.example.com. If you are visiting atlanta.example.com, you can post in the Atlanta forums AND the nationwide forums.

I want each subdomain to look the same (same theme). Do I need multiple databases?

Is this possible, and how would I set it up?

Thanks!

Comments

David Naian’s picture

Domain Access
Subdomain

an example for domain.module implementation: http://adaccs.at

Related to your questions:

1. You can build many Subdomain Sites using the same database, you have just to use prefixes for differentiate the subdomains in the databases
2. No you do not need multiple database for using the same theme for each of your Subdomains. This you can configure from Drupal internally.
3. Read about the well documented information and installation txt files that are provided with the module I listed above.

Regards

davidhernandez’s picture

You can do multi-site installations without addition modules. See http://drupal.org/getting-started/6/install/multi-site for additional info. I'm sure either way will work fine, its up to you and what you feel comfortable doing.