I had been trying to find through the EE Wiki and the EE Forums some sort of detailed information on how to setup 2 EE2 domains with MSM (Multiple Site Manager).
Information on the http://ellislab.com/expressionengine/user-guide//cp/sites/domainsetup.html is simply too generic and too incomplete and I am sure I am not the only one that had issue with setting up MSM following instructions from that page.
So here is a bit of a background of what I have:
- Plesk VPS
- 2 domains: lets say domain1.com and domain2.com
- The first (default) domain was set up along with MSM 2 and is fully functional
- domain2.com was set up as an alias of domain1.com
- domain2.com was set up in MSM and all the data and templates were imported
- change was mage to domain2.com site/index to distinguish that it’s different
The issue is domain2.com is displaying the same information that domain1.com is. I’ve read in numerous forum posts about MSM and some of the methods various people used, however none were detailed enough to explained how to set up 2 or more sites with MSM.
Here are my questions.
1. Can EE2/MSM be setup using domain aliases? If yes then how should this be set up from the file system perspective? Copying index.php/config.php, adding mod_rewrite rules?
2. Would setting up 2 separate domains (non aliased) be a better way? I understand that will most likely cause issues with open_basedir but I am sure I can work my way around it.
Can someone please explain the correct method of setting up 2 or more domains with MSM.
Thanks,
Jacek