Index: openacs-4/packages/acs-core-docs/www/install-next-add-server.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-next-add-server.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-core-docs/www/install-next-add-server.adp 8 Nov 2017 09:42:11 -0000 1.3 +++ openacs-4/packages/acs-core-docs/www/install-next-add-server.adp 25 Apr 2018 08:38:27 -0000 1.4 @@ -3,37 +3,34 @@ Running multiple services on one machine -
+ leftLink="install-openacs-inittab" leftLabel="Prev" + title="Chapter 6. Production +Environments" + rightLink="high-avail" rightLabel="Next"> +

Running multiple services on one machine

-Services on different ports.  To -run a different service on another port but the same ip, simply -repeat Install OpenACS 5.9.0 replacing +Services on different ports.  To run a +different service on another port but the same ip, simply repeat +Install OpenACS 5.9.0 replacing $OPENACS_SERVICE_NAME, -and change the

-set httpport              8000
-set httpsport             8443 
-

to different values.

-Services on different host names.  -For example, suppose you want to support http://service0.com and http://bar.com on the same machine. The +and change the

set httpport              8000
+set httpsport             8443 

to different values.

+Services on different host names.  For +example, suppose you want to support http://service0.com and http://bar.com on the same machine. The easiest way is to assign each one a different ip address. Then you can install two services as above, but with different values for

 set hostname               [ns_info hostname]
-set address                127.0.0.1 
-

If you want to install two services with different host names +set address 127.0.0.1

If you want to install two services with different host names sharing the same ip, you'll need nsvhr to redirect requests based on the contents of the tcp headers. See AOLserver Virtual Hosting with TCP by markd.

- \ No newline at end of file + homeLink="index" homeLabel="Home" + upLink="maintenance-web" upLabel="Up"> + \ No newline at end of file