[Xitami] Running two copies of xitami
Russel Olinger
rolinger1 at hotmail.com
Thu Feb 1 10:49:31 CET 2007
Linda:
You don't have to run a seperate copy of Xitami. If you aren't aware you
can have many virtual domains exist on a single IP address. Each virtual
domain would have its own config file. However, if you are aware of this
and still want a second copy of xitami running then you would need a second
install of xitami (in a second folder) and you would need to do a minimum of
two things:
1. change the service name of the second copy - by default ximati uses its
names as the windows process service identifier. In the defaults.cfg of the
second install under the [Win32] section you would need to change
"Service-name" to something other than "Xitami" (this is assuming you left
the first install copy as the default service name.). Ideally you would
want to change the "Service-text" too, but that is just the service
description so its not truly needed.
2. for the port, in the defaults.cfg file uner [Server] you would need to
change the "portbase" to the appropriate number. If you don't see it there
then you can add it:
portbase= 0 # e.g. 5000 for port 5080
by the example after the #, the default port (aka: base port) is port 80
thats one reaons why you might not see it under the [Server] section, but if
it is or you have already added it then note that portbase=0 IS the HTTP
port 80. So if you wanted to change your secondary Xitami install to port
81, then set portbase=1, to set it to 8080, portbase=8000. Basically, what
ever number you want to use, subtract 80 from that number and that will be
your portbase.
I probably did overkill on the explanation but its late my time right now
and I have sort of gone into zombie mode. :-)
-Russel
----- Original Message -----
From: "Linda McCullough" <ltdeditions at paradise.net.nz>
To: <xitami at lists.xitami.org>
Sent: Tuesday, January 30, 2007 8:56 PM
Subject: [Xitami] Running two copies of xitami
> Hi everyone!
>
> This is from my ISP...
>
> "I have set the DNS records for dingbattees.co.nz to point to your cable
> IP of 203.97.121.175."
>
>
> I am running
> xitami and already have solarcharts.co.nz on
> port 80 at the same IP. I have set up another copy of xitami for the
> dingbat tees website. Does this go on a different port? If so, where do I
> change the port number. I have tried the help pages but couldn't find how
> to do it.
>
> Thanks
> linda
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
More information about the Xitami
mailing list