You need to create different siteaccesses for each of those virtual domains. The siteaccess contain all the settings for those virtual domains. Siteaccesses can have different databases (different content) and different design (layout). This means you can have different sites on the same eZ publish installation.
Here are some documentation to get you started: http://ez.no/ez_publish/documentation/configuration/configuration/tips_tricks/several_sites_with_one_installation
But, I really need that each domains have its own content in the same database.
For example:
site1.com only access to folder fold1 and fold2 and...
site2.com only access to folder fold2 and fold3, so, I could separate the folder content for each domain
Have you tried using the "PathPrefix" option under [SiteAccessSettings] in site.ini?
That way, by putting your sites in separate folders at the top level of your content hierarchy, the user will not see that several sites are run from the same database.
I'd also assume that you could set the RootNode under [NodeSettings] in content.ini to something other than 2 for each site, but I haven't tested that option yet. You may also need to change the RootNodeID of the [TreeMenu] in contentstructuremenu.ini.
Cheers,
Sven Ryen
sven.ryen at maxus.no
You must be logged in to post messages in this topic!