Forums / Install & configuration / Multiple Website Setup

Multiple Website Setup

Author Message

Charles Marcuse

Tuesday 30 December 2008 2:08:17 pm

Hello,

I am finally trying to convert our current CMS to EZ Publish, and I am thus installing EZ Publish. Obviously, I will need the hostname based setup, but I wanted to know what should I do to achieve the following.

We want to have a centralized area to manage all our websites. We are a multi-platform gaming website, so our websites will be ps3.ourwebsite.com, ps2.ourwebsite.com, xbox.ourwebsite.com. Anyhow, we would like to manage all these websites from a centralized area, let's call it admin.ourwebsite.com.

From what I could read in the docs, the hostname setup by default is designed to work on a simple admin.website.com and live.website.com setup. How should I configure the system for multi-site support?

Finally, I am not sure if this will make any difference, large areas of our websites are static only (for example, old gaming reviews), so we will be serving static or cached files there.

Thanks for any tips!

John Moritz

Tuesday 30 December 2008 7:13:46 pm

Hello Charles,

Question: do u want to have multiple language available for each site?
I am doin the same at the moment so maybe i can give u some tips, but i have to say that i am also new to ez.
First read this article:
http://ez.no/developer/forum/setup_design/valentin_s_multisite_guide_v_1_example_uses_ezp_v_3_9_4
and this:
http://ez.no/developer/articles/how_to_configure_an_ez_publish_site/url_modifications
and this:
http://www.buildcms.com/tech_corner/howto/change_from_a_uri_to_host_based_siteaccess

I am also using the host based site access, and it works like you want it!

Maybe you run into some problems after setting it up like on the articles above. Then ask again, because i cant remember in which problems i ran into...
The one i know is, that after you set up more then one site, you see the name of the siteaccess in the url. To remove this you have to put the PathPrefix='your_site' to the [SiteAccessSetting].

Charles Marcuse

Tuesday 30 December 2008 8:01:31 pm

John, thanks a lot for the info! Will follow the instructions and let you know if there are issues!

Thanks again!

Charles Marcuse

Tuesday 30 December 2008 8:05:06 pm

John, about languages - no, we currently need only English language, at least for now.

Me Brains

Friday 27 November 2009 2:16:53 am

hey all... I am more or less okay with the different siteaccesses. Keeping the above example in mind, I am able to visit the site using ps3.mydomain.com as well as with 360.mydomain.com.

I am wondering now how to set up the content tree and sections. How do I make sure that content for PS3 is shown on the PS3's subsite and the 360's content on the 360 site? How do I do that for articles, as well as for media?

However, some articles / media might be shared. So, an article / image for PS3 might be the same image for 360.

And then lastly, I want the homepage (www.mydomain.com) to aggregate content from all subsites... You feel me coming already: how do you make that possible?

Thanks for your reply...

Me Brains

Monday 30 November 2009 12:23:07 pm

OK. I managed to get the breadcrumb correct, as well as the different menu's.

Problem now is that when I use the "Latest Content" block on PS3, it also shows 360 articles. I have not found how to solve that... Same happens with "Search" -> it gives results regardless of the subsite you are in...

any help?

Quoc Huy Nguyen Dinh

Thursday 03 December 2009 6:49:37 am

You can use the following strategy: use Media Library only for images that are shared between all your siteaccesses and upload images and other media directly as child of the node using them.

Or create a folder in Media Library for all shared items, and create specific folders for each siteaccess and assign a section to them.

Then create one anonymous user per siteaccess, for example "Anonymous - PS3", "Anonymous - 360".

Then in the site.ini.append.php of your settings/siteaccess/yoursiteaccess/ folder in section [UserSettings] add
AnonymousUserID= which value is set to the user ID of your anon user.

Then create a role/permission for each anon user allowing them to only see the section you want.

Me Brains

Wednesday 09 December 2009 1:18:49 am

Thanks for the reply. That makes sense. I will try it later this week.