I purchased the MSM and installed it in my system folder and am wanting to manage three sites that will all be under the same domain name, just with different home page url’s (ie: site one, www.mysite.com—then site two would be www.mysite.com/sitetwo—and site three would be www.mysite.com/sitethree). Is this possible? If so, is there any documentation to how to do this? Would they share the same template folders, theme folders, etc. or should I create separate folders within my system folder to house each site?
You do it the exact same as creating an MSM under another given domain.
Only exception is that your site_url, should be set to the mysite.com/sitetwo url instead of just mysite.com.
They do not have to share template groups (and probably isn’t recommended as some templates might be named similarly or exactly).
It appears your theme folder is global to your entire installation and is shared. (just looking in my own MSM site, there is no “site switcher” when editing your system preferences page.
You can obviously create your own asset folders (js/css/img/swf/etc) and any file upload folders inside your new “site root” as you need them.
Wouldn’t this mean he’s using up 3 of his full domain licenses for essentially the same domain… Isn’t there a better way to have ‘different’ sites on the ‘same’ domain, without using up full domain licenses for what are effectively sub-domains? Does that make sense? :S
@aj - thanks for that. I will mess around with it this weekend and see what i can get going…
@andy - Yeah I am tracking your thought there, i totally understand the reasoning. The reason i got the MSM was to help the user of the site handle the mass amount of content they will be managing. There would end up being around 25+ weblogs, 150+ unique pages, etc on the site if i didn’t break them up… i figured i needed another level of organization so it wouldn’t be so overwhelming. I though the MSM would be an easy way to do it without getting to technical…
Thats cool, Im using MSM too, and have been wondering the best way to setup multiple 1 page independent sites in subdomains without having to buy a license for each one since they are all part of one primary domain. I can do it via template groups, but would prefer each subdomain to essentially be its own site within the CP.
If you want to break it up so each site has effectively its own cp, the MSM is really the way to go. Breaking up the frontend is easy enough to do w/out MSM (wiki- note old style isn’t officially supported). But the cp is a different matter. You could get some separation by creating multiple member groups and multiple logins. But the MSM will always be slicker than that.
Make sense? And want me to leave this thread open for a bit, or are we good to close it out?
Ok, I went through the User Guide and set up the other two sites (ie - www.mysite.com/sitetwo and www.mysite.com/sitethree). I copied my path.php and my index.php files into the new site folders that I created within my system folder… but I am getting a 404 not found when I try to view the two other sites i set up… did I do something wrong?... any theories/ideas/tricks?
Still get the 404 if you go directly to www.mysite.com/sitetwo/index.php? If the index file is there- it might error, but shouldn’t be a 404. Unless it’s an EE 404, which is remotely possible.
Hm- yes, there is oddness there. If you just stick a ‘hello world’ html file in one of the subfolders and try to access it, does it come up ok? And who’s the host?
yeah i tried the ‘hello world’ in my index file for the two sub sites and it still wasn’t going through. I know the files are correct. The only thing i can think of is either EE isnt seeing them or I dont have the path.php configured correctly for each file.
I changed the url to the root directory in my system admin for each site (www.mysite.com/sitetwo)... that wasn’t working so i threw system folder into the path (www.mysite.com/system/sitetwo) but again nothing there… but i dont think that should matter…
In my path.php i have the setting for the site short name name set up and the system path set up correctly… do I need to do a full url in the system path or is the “./system/sitetwo/” enough?
This is so weird because I can get my templates to write as files to the folders I have set up within each sub folder in my system… but i can’t view the templates because EE isn’t finding my index.php within each folder.
No- I mean, just completely outside of EE. Put up an index.html file in one of the subfolders. Can you access that? I’m trying to figure out if the server/htaccess is doing something funky before it ever hits ee.
oh ok… I am trying that now… and… nope… it doesn’t work. robin, i pm’d you the link. (FYI, i switched it from test.html to index.html, but neither of them work)
Yea- I got the 404 as well. Which is just strange- not like making a subfolder is an odd thing to do- and it must generally work or you couldn’t have got EE going at all if system folder came back 404.
Anything odd in how you created the folder? I mean- pretend EE isn’t even in the equation and it was a purely static site. Did you create the folder the same way? Any htaccess going on that might be in play? An EE template w/the same name as the folder- or an EE page w/that name?
Yeah, I did create the folder in the exact same way I would have for a non EE site. The permissions are set how they normally would be. I haven’t done anything with the htaccess stuff so it should all be normal… This is a unique folder within the system and there is no other folder or template or weblog or category or anything with that name…
My only guess is that for some unknown reason EE just isn’t seeing my index or path files i put in the sub folder. Which I would think would boil down to something in the path.php file or the system admin settings… but i cant figure out why… Oh well… maybe i will get it tomorrow.
Thanks for your help Robin! Kudos to you! These tech forums always impress me with how quickly people respond… its unreal. I love it.