Loading...
 
Skip to main content

Architecture / Installation


How do I do a MultiTiki setup on IIS?

Hello,
I would like to host multiple tikis on one IIS webserver. Has anyone figured out a way to do this? I've read the MultiTiki19 wiki, but it only has instructions for Linux. I'm running Tiki 1.9 RC2
Thanks!

I guess its possible. Some basic pointers to how its done on apache.

basically, you define the several websites to point to one set of tiki files. In apache, this can be done through seperate VirtualHost blocks or using the ServerAlias parameter. I guess using IIS there is something similar to a ServerAlias. Where a website can listen on more than one hostname.

Then in the local.php, you write some scripting, there are examples on tw.o that basically looks at the _SERVER environment variable SERVER_NAME or HTTP_HOST depending on your webserver and sets the database user/pass and name accordingly.

Simple but highly effective.

Damian


OK, I got it working with just two different tiki folders. I made a copy of the folder of my first tiki site and gave it a new name. At first I couldn't get it working because it refused to change the db settings in tiki-install.php, but editing it in local.php got it to work.
Thanks a lot!

Two different tiki folders means two copies of the source code installed ❓

MultiTiki is one copy of the sourcecode serviing multiple domains.

Damian