OG, subdomains and domain access
jaxpax - February 18, 2009 - 16:10
Hi!
I'm about to configure a site where visitors can get a membership via www.mysite.com.
As a member they can post contents with the content type "about_me". If they feel like it they can start a group with the OG module, and if they choose to do so then the group URL would be groups.mysite/user-group. In their group they can post "group_blog" content, that would only get published in their group, as well as "about_me" content, that would be published at www.mysite.com and groups.mysite/user-group.
I hope that this will clear things up:
- URL: www.mysite.com
- Content type: about_me - private/public
- Content type: group_blog (only visible through blocks)
- URL: groups.mysite.com
- Content type: about_me - private/public
- Content type: group_blog
My modules for handling this are, for the moment, Domain Access and OG, but I'm not sure how to accomplish this.

Hmm
I am doing something similar, but I am using the subdomain module rather than the domain module. I'm pretty sure this is doable using that combination. I'm not at my test machine now, but will give it a go later and let you know.
Cheers,
Thanks I would really
Thanks I would really appreciate that. I have thaught about the subdomain module myself but under the paragraph RELATED MODULES one can read: .
That made me think that sharing content between domains weren't possible with the subdomain module.
Looking forward to your result.
//Patrik
---------------
He who seeks, will find. Eventually. Hopefully. Maybe.
Your initial post....
States that:
URL: www.mysite.com
Content type: about_me - private/public
Content type: group_blog (only visible through blocks)
URL: groups.mysite.com
Content type: about_me - private/public
Content type: group_blog
These are the same domains! No need for the domain module.
Ok, I will try the subdomain
Ok, I will try the subdomain module. Maybe that will do the trick, then.
Thanks a bunch for your quick replies!
---------------
He who seeks, will find. Eventually. Hopefully. Maybe.
Also
Check out the OG Vocabulary Module(http://drupal.org/node/64094) Perhaps views could be used to show shared Taxonmoies from OG's in a way that suits your requirements (not sure tho, but this was my train of thought) If you are successful, please post back and share.
Thanks, will do that. One
Thanks, will do that. One more thing... After configuring the settings.php >> $cookie_domain = "example.com" how do I get it to work with a www URL, like www.example.com? Right now only example.com works for me :-p
---------------
He who seeks, will find. Eventually. Hopefully. Maybe.
I think...
If I understand correctly you mean the difference between example.com and www.example.com, if so then these are set in your Apache configuration or your .htaccess file
Well, this is quite new to
Well, this is quite new to me. What I want is for visitors to get to my site "example" by entering example.com and www.example.com.
---------------
He who seeks, will find. Eventually. Hopefully. Maybe.
It works
I have a web server and the settings are mysite.com in the settings file. When I browse from another computer to my website www.mysite.com, mysite.com, http://mysite.com and http://www.mysite.com all resolve to mysite.com, so no worries there!
Hmm... I looked under
Hmm... I looked under "Issues" for the subdomain module (#369801: www restriction ignored), and found that other had experienced the same problem. Maybe the suggested code snippet will help me out, there? Or maybe this is a whole different matter?
---------------
He who seeks, will find. Eventually. Hopefully. Maybe.
Oh
I was unaware of this issue, however as I am just developing at the moment so not really a problem for me. I would assume it will be sorted quite soon as this module seems to be well supported. Apache can sort this out anyway.
Just to make it clear, the
Just to make it clear, the solution I was talking about above worked out my problem with the URL. sersims code snippets worked just fine for me.
//Patrik
Mabe this will help?
When entering the URL www.example.com I get "Page not found"
---------------
He who seeks, will find. Eventually. Hopefully. Maybe.
Who is your
Who is your hosting company?
binero.se. I think I will
binero.se. I think I will post an Issue for this under the subdomain project page. Thank you for your patience with this :-)
//Patrik
---------------
He who seeks, will find. Eventually. Hopefully. Maybe.
Here's how
http://www.zytrax.com/books/dns/ch9/suppress.html
I will forward this link to
I will forward this link to my hosting company ;-)
---------------
He who seeks, will find. Eventually. Hopefully. Maybe.
I've got other sites at the
I've got other sites at the same hosting company and the URL problem won't show up with the other sites so my guess is that the problem is related to the subdomain module.
---------------
He who seeks, will find. Eventually. Hopefully. Maybe.
www & subdomain module
The issue with "www" has been fixed in the latest version of the Drupal 6.x version of Subdomain (6.x-1.5).
Make sure "www" is in the list of restricted subdomains on the subdomains setting screen, and the subdomain module will ignore all url's to www and let them pass unaltered on to Drupal.