I've got a drupal 4.7, let's call it www.mysite.com site up and running and now want to add a sub domain sub.mysite.com
Done some reading from here http://drupal.org/node/43816 and it seems straight forward to set up multiple (sub) domains running on the same installed code-base.
From what I can undestand, there is two basic options.
(1) sub.mysite.com share all data base tables with the original www.mysite.com making it an alias site. This option still makes it possible to have custom themes and modules for the two domains.
(2) sub.mysite.com uses it's own set of data base tables (eiter a separate database or same database but different table prefix). This option makes the content of sub.mysite.com complete separated from www.mysite.com
Now to my question: If all I want is for sub.mysite.com to have a different set of blocks enabled, do I have to go for option (2)?
Ahh, there might be a third option.
(3) I found out that each block has a "Page specific visibility settings" option. Maybe the simplest is to add PHP code returning TRUE or FALSE depending on whether or not the node "belongs" to the www.mysite.com or sub.mysite.com domain.
The disadvantage to the above method is that a node can be referenced by two URLs, e.g., http://www.mysite.com/?q=node/33 and http://sub.mysite.com/?q=node/33 refer to the same node. I personaly don't like ambiguity soo this makes me thinking option (2) is a better choise.