Multiple Sites

on the same shared server

With Mara it is quite permissible to host a number of sites in subdirectories of the same hosting space, in fact this is frequently necessary for testing purposes. There is no specific need to access the sites via a subdomain. A few points need to be noted about shared hosting though. 

The login process requires that the session cookie is unique to each site hosted on the same domain. Otherwise, logins will clash. Therefore if you are not using subdomains, you should change the cookie string in sitecfg/siteini.php to make each cookie unique. This only matters if two sites will be administered at once from the same browser, so for development work it can generally be ignored, but for multiple production sites it is important. 

It is also possible to host a complete subsite within the directory structure of a main mara site, the subsite having its own codebase, menus, styles, etc. This is sometimes convenient when you wish to publish a 'minisite' carrying information about a specific product, with a completely different style from the main site. The same considerations about the session cookie apply here.

Powered by Mara cms