View Full Version : CMS and multiple domains
PointSingularity
Sat 3rd Feb '07, 5:54pm
I'm thinking of buying vBulletin for my website, since phpbb2 lack certain features that I need and after trying the demo of vBulletin it feels very satisfying. One thing that especially caught my eye was when I later found the excellent CMS solutions such as vBadvanced and vBdrupal. I now need to know if the setup I'm planning for my site will work before I buy any software (or know what possible solutions there are), so here's my thought:
I know for a fact that having the vBulletin software and a CMS such as vBadvanced on two different servers is impossible if you want them to use the same cookies.
But, what about this scenario?
Site: foo.com
Forums: foo.com/bar3298798745ruy43ytryr98y4r3gJ
bar.com ----> (links to) -----> foo.com/bar3298798745ruy43ytryr98y4r3gJ
So far there shouldn't be any problem. But here comes the tricky part:
I would tell the forum software that it was installed on bar.com instead of foo.com/bar3298798745ruy43ytryr98y4r3gJ to avoid having links referring to the folder on foo.com.
1. Would this solution allow me to fake that the forums are running on bar.com when they are infact located in a (almost) hidden folder on foo.com? Or would the cookies on the forum site still want to be used only by bar.com?
2. Would this solution hide any references to foo.com/bar3298798745ruy43ytryr98y4r3gJ?
If this won't work for one reason or another, is there another way to accomplish what I want? I know many people has asked similar questions, but I couldn't find the answer to if this specific theory I made would work or not.
I'd deeply appriciate any answer.
/PS
PointSingularity
Sun 4th Feb '07, 4:36pm
Hello? Sales-people? Want to make money??
Seriously though, I've been waiting for almost 24 hrs without even a "I dunno". I'm not trying to be a bitch, I'm just used to sales-people being quicker than this to provide the information I need so that I can decide on buying the product. I'm in a rather hurry to make upgrades to my website and need to know certain things about products that I'm considering.
Steve Machol
Sun 4th Feb '07, 4:38pm
Well, I for one didn't understand your post which is why I didn't answer it. I can't answer for others though.
Maybe try re-explaining again.
WEBDosser
Sun 4th Feb '07, 4:44pm
Well, I for one didn't understand your post which is why I didn't answer it. I can't answer for others though.
Maybe try re-explaining again.
yes you can.. i have same problem with understanding this?..:eek:
PointSingularity
Sun 4th Feb '07, 5:03pm
Ok, i have the domains foo.com and bar.com for example. I want to have vBadvanced (or other cms that connects with vBulletin) on foo.com and the vBulletin forums on bar.com.
This is impossible since they wouldn't be able to share cookies, since they're on two different domains.
Therefore I made this alternate solution where I put the vBulletin installation in a folder on the main site (eg. foo.com). This folder would be foo.com/forums and then I would add random letters and numbers to the foldername to avoid people finding it. It would look something like foo.com/forumsAAAA11119999XXXX.
Now the forums on foo.com/forumsRANDOMCHARACTERS would be able to communicate properly with the vBadvanced installation on foo.com.
But I still want the bar.com address to be the official location to the forums on foo.com/forumsRANDOMCHARACTERS. Therefore I would link bar.com to that folder.
Now to make sure the bar.com is what the browser and all links says instead of foo.com/forumsRANDOMCHARACTERS, I need to tell the vBulletin installation that it's located on bar.com (even if it's not really, although bar.com links to the same path).
Basically I need to know if the cookies for the forums would be locked to foo.com or bar.com. Since the forums are really located at foo.com, but the forum is configured to be located at bar.com.
If the forums cookies would still be locked to foo.com even when the forums are configured to be on bar.com then my theory would work.
That's about as plain as I can describe it. The only way to make it more clear would be to switch the words foo and bar to flower and ball maybe.
I hope this will do.
Steve Machol
Sun 4th Feb '07, 8:11pm
I do not know how to do that or even if it's possible. Cookies are domain specific and cannot be shared between domains.
If this is possible it would require custom coding which we can't officially support. You can try asking about this in the Pre-sales forum at the vB Mod site: http://www.vbulletin.org/forum/
PointSingularity
Sun 4th Feb '07, 8:15pm
I do not know how to do that or even if it's possible. Cookies are domain specific and cannot be shared between domains.
If this is possible it would require custom coding which we can't officially support. You can try asking about this in the Pre-sales forum at the vB Mod site: http://www.vbulletin.org/forum/
Well, the forums wouldn't really be on another domain. It would just be faked to look that way to the user. I need to know if it's the domain on which the forum files actually reside or if it's the forum's configuration that is the decisive factor for under which domain the cookies would reside.
Steve Machol
Sun 4th Feb '07, 8:21pm
Sorry, I either don't understand the question or I've already answered this to the best of my ability. If you are not talking about sharing cookies between two different domains then please try explaining again.
PointSingularity
Sun 4th Feb '07, 8:29pm
Sorry, I either don't understand the question or I've already answered this to the best of my ability. If you are not talking about sharing cookies between two different domains then please try explaining again.
I'm talking about a work-around to not have to share cookies between domains. The forums would physically reside on the same domain as the cms. The second domain would merely act as a link to the folder the forums reside in.
I have to configure the forums to believe that they really are on the second domain to avoid links referring to the real folder. This is the thing that might cause the cookies to reside on the second domain instead of the first one.
Steve Machol
Sun 4th Feb '07, 8:33pm
As I said I do not believe this is possible. Sorry I didn't make that clear. If I am wrong this will require modifying the code.
PointSingularity
Sun 4th Feb '07, 8:36pm
As I said I do not believe this is possible. Sorry I didn't make that clear. If I am wrong this will require modifying the code.
Ok. Thanks for your support. I will try to come up with a better site configuration then.
feldon23
Sun 4th Feb '07, 10:50pm
I guess I am trying to understand why this would be necessary.
vBulletin® v3.8.0 Release Candidate 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.