I read a method of doing multiple subdomains, but does not seem easy to do multiple domains.
thanks
jealousy<>love
thanks much.
is this something that could theoretically be made simpler/automated in future versions?
jealousy<>love
-
☆ A M B ☆
- 179 Posts
Is there a MANDATORY way where to put the core folder and the folders for the multiple domains/subdomains in the webserver tree?
Do I HAVE TO put them inside the MODX installation branch (1) or can I put the domains/subdomains into a different branch (2)?
(1)
/html
/modx
/domain1
/domain2
/...
(2)
/html
/modx
/domain1
/domain2
/...
I am normaly using (2) without much trouble but some things are just not working as they should (e.g. @DIRECTORY bindings in contexts (see my posting
http://modxcms.com/forums/index.php/topic,64248.0.html)).
Would it be better to use (1)? I like (2) very much but would say "goodbye" to it, if there is a good reason.
THANKS!
Oliver
i created a huge multidomain multilanguage site.. i created a plugin wich switch context depending on domain .. is better to control it than using subfolders
-
☆ A M B ☆
- 179 Posts
Thanks for the hint. Switching between context works fine with either of my two solutions. I just want to now how the physical assets (jpg, png, swf etv.) should be organized:
(1)
/html
/modx
/domain1
/assets
/...
/domain2
/assets
/...
/...
(2)
/html
/modx
/domain1
/assets
/...
/domain2
/assets
/...
/...
What has the MODX team in mind as the was how to structure the files? Solution 1 or 2?
Thanks
Oliver
Since this week (as a Wordpresser) I'm flirting with MODX (don't tell anyone). It looks good.
The reason why I'm getting into MODX is because of the custom content fields, multi langual websites and running multiple domains on one CMS. It look simple installing three websites on one CMS.
My question:
Do I need to change anything on the server itself to get this working?
I need to change te htaccess file I've read, but I hope that is it. I hope I don't need to change a config file in apache, because my ISP does not let me (can't blaime them).
-
☆ A M B ☆
- 894 Posts
@Lucas you don't need to edit any config file in apache the config files that are mentioned are the new context site config file, make sure to follow abelafontes tutorial to the letter and you will be fine.