Loading...
 
Architecture / Installation

Architecture / Installation


How do I do a MultiTiki setup on IIS?

posts: 10 United States

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!

posts: 2881 United Kingdom

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


posts: 10 United States

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!

posts: 2881 United Kingdom

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

MultiTiki is one copy of the sourcecode serviing multiple domains.

Damian