All the examples I see for this module shows subdomains rather that running the same drupal system across two completely different domains.
Will this module work for different domains like domain1.com, domain2.com, domain3.com?
All the examples I see for this module shows subdomains rather that running the same drupal system across two completely different domains.
Will this module work for different domains like domain1.com, domain2.com, domain3.com?
Comments
Comment #1
wayland76 commentedI would think so, although I'm not actually in a position to test that at the moment.
Comment #2
jereme.guenther commentedThis module is totally awesome. Yes it works for multiple domains. Just remember to manually apply the core patch that ships with it.
I have just started setting up two different domains using this module and it is working great so far:
you can check them out here:
http://www.rv-protection.com/
http://www.rv-protection.net/
they are just a couple of test domains I picked up for building the new sites on so I don't take down the real sites. My current sites are running on some old versions of MDPro, I like Drupal much better.
From reading the posts here it looks like there will be one or two other small patches I will have to apply, but hey it is worth it. To my knowledge this is the only CMS and only working module that does the whole multiple domain thing nicely. All the other methods (the Drupal built-in included) try and separate out the data tables and to some degree the code base as well.
Comment #3
wayland76 commentedI have had a few problems with conflicts with other (non-core) modules, but I intend to keep persevering with this module because it's almost exactly what I want :). I intend to file those conflicts as bugs at some point.
Comment #4
dredhorse commentedhow do you assign the content to the different domains?
any documentation about this?
Comment #5
wayland76 commentedI don't know if there's any doco, but basically, it creates a taxonomy called "Domain", and each domain is listed as a separate taxonomy item. Each piece of content you create can then be associated with an item from this taxonomy, and it all just happens.
Comment #6
dredhorse commentedit doesn't and thats the problem ;-(
the menu structure points to domain2 on both sides.. I can create content and it doesn't show up, if I edit it in the backend the url goes to domain2 also..
hmm... do I need to configure multisite inkl. shared tables before?
I have a /site/domain1 and /site/domain2 directory on my server, but it just contains the default settings.php
edit... found ONE issue.. if I choose
Content filtering by domain:
None: all domains see all content
now the content shows up on both domains.. still all links point to domain2 even if the content is for domain1.. the menu structure is now correct though
Comment #7
wayland76 commentedHmm. Well, I got the same problem for a while, but found that if I went into multidomain.module, and found the custom_url_rewrite function, and found the line that said:
$source = $type == 'alias' ? $path : drupal_lookup_path($path);
...and changed it to:
$source = $type == 'alias' ? $real_path : drupal_lookup_path($path);
Then it made things work. But that change was in an older version of the code, but someone changed it. I'll see what I can do about tracking it down.
Comment #8
wayland76 commentedMy mistake, it's not in another version. Try:
http://drupal.org/node/149841
Comment #9
jereme.guenther commentedI was having this same issue and found that if I went into the settings for the ( default ) domain and unchecked the setting "Force default domain" then it fixed my issue.
Comment #10
dredhorse commentedyeah.. the last one fixes a lot.. have some other issues now... will post a new thread