Guys,
I think this discussion goes the wrong way. Since the original requirement is very simple to achieve: I think that multiple DNS zone records (one for each domainname), simply pointing to the same public IP of an OFBiz instance can do the job. As far as I can see all mountpoints are specified relative to the OFBiz webroot in the respective ofbiz-component.xml <webapp> tags. So no reason to "complicate" your setup with Apache, vHosts etc. Just make sure your DNS provider points all your URLs to the very same OFBiz instance. IMHO the reasons for Apache in the game are few, e.g.: - You want to rewrite URLs because you want different URLs to seamlessly point to different shops (i.e. ecommerce application instances on OFBiz) or different shop layouts (also for this you will need two ecommerce applications with two different THEME settings) ... however I do not see these requirements in the original mail. - As I mentioned in earlier posts, Apache does also need to come into play for enforced 2- or 3-tier architectures when coping with PCI or SOX requirements etc. Hope this helps? Regards Carsten 2009/9/11 Raj Saini <[email protected]> > Hi Neha, > > One way is to front your OFBiz with Apache Web server. You can create > virtual host in Apache web server and then user AJP Proxy to connect to the > OFBiz. > > It is also possible to use the Virtual hosts in Tomcat and since OFBiz > embeds Tomcat, it should be possible as well. I never tried this and do not > have idea how it would work. > > > Thanks, > > Raj > > [email protected] wrote: > >> Hi Raj, >> >> I need to deploy complete complete suite of applications through different >> domains with single OFBiz instance and on same server. >> >> >> >> >> >> Raj Saini <[email protected]> 09/11/2009 11:22 AM >> Please respond to >> [email protected] >> >> >> To >> [email protected] >> cc >> >> Subject >> Re: Hosting OFBiz on a single server with multiple domain names, without >> cloning components >> >> >> >> >> >> >> Hi Neha, >> >> Do you want to deploy the store front (e-commerce) you want to deploy on >> multiple domain? Or you want to access the complete suite of applications >> through different domains? >> >> Thanks, >> >> Raj >> >> [email protected] wrote: >> >> >>> Hi, >>> >>> I want to deploy single OFBiz application,hosted on a single application >>> >>> >> >> >> >>> server but with multiple domain names. >>> I do not want to clone the components to achieve this.Can you help me in >>> >>> >> >> >> >>> this regard... >>> >>> >>> >>> >>> ______________________________________________________________________ >>> >>> >>> >> >> >> ______________________________________________________________________ >> >> >> >> ______________________________________________________________________ >> >> > > -- Best Carsten Schinzer Waisenhausstr. 53a 80637 München Germany
