I am trying to use drupal Domain module and I have domain_A and domain_B right now. Domain_A is my primary domain and B is the second one that I am trying to add.

Domain B will have its own theme and some additional functionalists. Everything else is pretty much same.Also the database is same..

My question is where should I put my theme and my new modules for domain B. Is it inside sites/domain_b/themes and sites/domain_b/modules? I have the theme currently inside the domain_b folder but every time i try to build the theme in domain A, its overwriting the theme for domain_B since it cannot see it.

So is the correct way is to keep the new theme and even the new modules for domain_B inside sites/all/themes and sites/all/modules folder and use domain_theme module to choose the new theme for domain_B?

Any suggestions

Comments

agentrickard’s picture

You are confusing how Domain Access works with how Drupal multisite works. Please read the installation documentation again.

You do not want separate settings directories for the two sites. Just one (normally 'default'). All your modules and themes typically go in sites/all/*

You can have different themes using Domain Theme (provided) but cannot have different module sets. That is not supported.

neelaj82’s picture

Thank you for the reply..just needed a confirmation..

agentrickard’s picture

Status: Active » Closed (works as designed)