Hi James,

web server means Apache httpd or nginx and alike. There is also a virtual host concept in Tomcat which I do not know in detail.

Regards,

Michael


Am 11.04.18 um 15:37 schrieb ja...@productive1.com:
Should web server be different from our main Ofbiz server?


-------- Original Message --------
Subject: Re: Multiple eCommerce Websites & Mapping
From: Michael Brohl <michael.br...@ecomify.de>
Date: Tue, April 10, 2018 2:43 pm
To: user@ofbiz.apache.org

Hi James,

I have to be brief but hope it helps anyway:

1. setup a WebSite entity with domain and webSiteId

2. configure you webapp like this

      <webapp name="mySite"
          title="mySite"
          app-bar-display="false"
          server="default-server"
          location="webapp/mySite"
          mount-point="/">
          <virtual-host host-name="www.mySite.com"/>
          <init-param name="webSiteId" value="mySite"/>
      </webapp>

3. Configure your web server with a virtual host and ServerName
www.mySite.com

4. Add ProxyPass with AJP protocol to virtual host configuration

ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/

5. disable the http/https connectors of Tomcat


Hope I did not forget anything important.

Best regards,

Michael Brohl
ecomify GmbH
www.ecomify.de


Am 10.04.18 um 21:13 schrieb ja...@productive1.com:
Hi all I have going to the documentation and it looks like there is a
way to have multiple websites tied back to the same ofbiz instance. I
have a few questions. Where is this configured so we can map a product
store, web template to a web domain. What do we need to change at our
domains registrar to have the www.xxx.com point to the right IP. I am
sure this is more than a domain forward. Thanks in advance!


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to