Hi guys,
I have managed to setup and run 2 Ofbiz instances in a single machine. Using IP with different ports, i can use them without any issue. However, i would need to setup different domain names for each of them, for example: www.abc.com should points to 127.0.0.1:8080 while www.cde.comshould points to 127.0.0.1:9090 In short each clients should be able to access their own ofbiz instance by using the domain name directly without specifying the port number. I tried to search through google but most of them is about multiple ecommerce instance. I wonder if anyone has done this before? Thanks FooShyn |
Yes I have done something similar at the httpd level with mod_proxy_ajp and virtual hosts.
Sam On 7 Oct 2011, at 11:04, Foo Shyn Chung wrote: > Hi guys, > > I have managed to setup and run 2 Ofbiz instances in a single machine. Using > IP with different ports, i can use them without any issue. > > However, i would need to setup different domain names for each of them, for > example: www.abc.com should points to 127.0.0.1:8080 while > www.cde.comshould points to > 127.0.0.1:9090 > > In short each clients should be able to access their own ofbiz instance by > using the domain name directly without specifying the port number. > > I tried to search through google but most of them is about multiple > ecommerce instance. I wonder if anyone has done this before? > > Thanks > FooShyn smime.p7s (6K) Download Attachment |
Hi Sam,
Thanks, by that you mean i will need to use httpd as the front and use ajp to connect to the ofbiz instances that i have? Any example for the virtual hosts setting in the httpd.conf? Thank you. FooShyn On Fri, Oct 7, 2011 at 11:24 AM, Sam Hamilton <[hidden email]> wrote: > Yes I have done something similar at the httpd level with mod_proxy_ajp and > virtual hosts. > > Sam > > > On 7 Oct 2011, at 11:04, Foo Shyn Chung wrote: > > > Hi guys, > > > > I have managed to setup and run 2 Ofbiz instances in a single machine. > Using > > IP with different ports, i can use them without any issue. > > > > However, i would need to setup different domain names for each of them, > for > > example: www.abc.com should points to 127.0.0.1:8080 while > > www.cde.comshould points to > > 127.0.0.1:9090 > > > > In short each clients should be able to access their own ofbiz instance > by > > using the domain name directly without specifying the port number. > > > > I tried to search through google but most of them is about multiple > > ecommerce instance. I wonder if anyone has done this before? > > > > Thanks > > FooShyn > > |
Hi FooShyn - yes that what I meant.
Have a look at https://cwiki.apache.org/OFBIZ/faq-tips-tricks-cookbook-howto.html#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD and see if that helps Sam On 7 Oct 2011, at 11:48, Foo Shyn Chung wrote:
smime.p7s (6K) Download Attachment |
Free forum by Nabble | Edit this page |