Hello everyone,
I read Drupal Multi-site nodes and related issues, even for "dummies" one. But I don't understand some parts. I will be happy if there are some more clear answers.

My plan is to make a website with different subdomains.
www.example.com is my main website, and sub1.example.com, sub2.example.com ... will be my other websites.

1. Now before everything, do I have to install Drupal into every single subdomains too?

2. I want to use same users table, and same theme for all websites. Can I put some of the entries/nodes of sub-sites into the mainpage?

3. Is ther some more clear explanationa about "symlinks" things, or if there are another method to do such a website/network?

Thanks a lot

Comments

vm’s picture

1. no, Thats the whole point of a multisinstall is so that you don't have to install drupal in each subdomain. however, you have to run the installer for each subdomain, which drupal will take care of when you visit the site for the first time. Just as it did when you visit the main site for othe first time.

2. to do this you must install each subdomain into the main domains database using table prefixes. Then you must set the array in each settings.php file. (I've never done this)

3. you don't have to use symlinks if your host allows you to control where the docroot of the subdomains is. If your host allows you to you can point the subdomains doc root to the main domain.

Realistically, you should sit down and really think about whether you actually NEED a multisite install. After setting one up, I realized I didn't and had to work my way backwards. The idea that you have to share a single DB for each multisite means your DB will get bloated quickly. I've never figured out how to (if there is even a way) to share tables across multiple installs across multiple DB's

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

turco’s picture

Thanks a lot. And your note is much more meaningful for me.

www.turkblog.info

WorldFallz’s picture

you might want to look at http://drupal.org/project/domain, it looks to facilitate a lot of what you're after.

EDIT: also saw this http://drupal.org/project/subdomain might be a little simpler and also do what you need.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz