I've configured my development apache server with domain.com and a subdomain, sub1.domain.com.

In Drupal 5.0, I have:

- used CCK to create a simple content type called 'subdomainpost'.

-Added sub1.domain.com in the 'Multiple Domains-->List' menu

- Under 'Multiple Domains-->Configure-->sub1.example.com' For "Use this domain for the following types of posts:" I have checked only 'subdomainpost', the custom node type.

However:

-the frontpage on sub1.example.com shows all content types (such as blog entires, pages promoted to frontpage and the custom content type).

-The frontpages on sub1.domain.com and domain.com are identical and regardless of which is viewed, links on the frontpages to individual nodes point to the subdomain (eg http://sub1.example.net/node/2) regardless of content type. Links to nodes work both with and without the sub1 subdomain on the front.

Comments

adrian’s picture

Status: Active » Closed (works as designed)

Multi-domains doesn't do anything to the listings.

To change the listings, you need to construct views to use as the front page for each of the content types you want,
and switch the site_frontpage variable to that view url.

The multi-domain module also does not have any node access features, all this module does is changes the url the link points to.