Elxis CMS Forum

Support => Technical support => Topic started by: ROUBOS on November 10, 2008, 18:59:07

Title: Simple noob question.
Post by: ROUBOS on November 10, 2008, 18:59:07
Just simple (stupid) questions really: Do we need one Elxis install per website we want to create?
and
how hard is the process of moving a site created locally using a we-bserver for development purposes on my machine to the proper live web-server?
Title: Re: Simple noob question.
Post by: akalant on November 10, 2008, 19:08:49
Για διάβασε εδώ: https://forum.elxis.org/index.php?topic=308.0
Title: Re: Simple noob question.
Post by: ROUBOS on November 10, 2008, 19:19:48
ok
that's for moving the site from local to the live server.

How about the number of elxis sites we can have per installation?
Title: Re: Simple noob question.
Post by: Farhad Sakhaei on November 10, 2008, 21:10:22
1 site per database

You can use another database and subdomain to install new one , But Elxis don't recommend to install on subdomain , If you want you can check it by your own risk !!!
Title: Re: Simple noob question.
Post by: ROUBOS on November 10, 2008, 22:03:07
so an elxis installation is by one database which mean one site.
if I want multiple sites on my local development server, then I will need to install Elxis for every site I develop.
Title: Re: Simple noob question.
Post by: Farhad Sakhaei on November 10, 2008, 22:08:45
Yes, Also you can use subfolders ... http://localhost/elxis1/index.php   -   http://localhost/elxis2/index.php
Title: Re: Simple noob question.
Post by: ROUBOS on November 10, 2008, 22:18:50
ok thanks :D
Title: Re: Simple noob question.
Post by: datahell on November 10, 2008, 23:33:54
You can have unlimited elxis sites in one database (each elxis installation with different database tables prefix) BUT we do not recommend it. We recommend to have one database per site.
You can have unlimited number of sites (elxis installations) under one domain. You can use sub-folders or sub-domains.
For live sites we do not recommend installing elxis in a sub-folder although elxis will work fine.
No problem with sub-domains.

Installation in sub-folders (not recommended for online sites):
http://www.mydomain.com/elxis1/
http://www.mydomain.com/elxis2/

Installation in sub-domains (recommended solution for online sites):
http://elxis1.mydomain.com/
http://elxis2.mydomain.com/

Why we dont recommend installing elxis in a sub-folder?
Mostly for issues having to do with messing the installations (especially with SEO PRO enabled and if you also keep an elxis installation in the root folder).

Example
link to component web links for the root site:
http://www.mysite.com/links/

link to front page of the second site (installled in a sub-folder) or link to a section named "elxis1" of the root site? => possible URLs mess up
http://www.mysite.com/elxis1/ (not sure which site was requested)

This has not been reported as a bug, elxis works ok, but we advise you to not use sub-folders. If you want to install elxis once, install it in the root folder else use sub-domains!