Multiple ofbiz instance with different domain names

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Multiple ofbiz instance with different domain names

Foo Shyn Chung
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
Reply | Threaded
Open this post in threaded view
|

Re: Multiple ofbiz instance with different domain names

samhamilton
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
Reply | Threaded
Open this post in threaded view
|

Re: Multiple ofbiz instance with different domain names

Foo Shyn Chung
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
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Multiple ofbiz instance with different domain names

samhamilton
Hi FooShyn - yes that what I meant. 


Sam 


On 7 Oct 2011, at 11:48, Foo Shyn Chung wrote:

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




smime.p7s (6K) Download Attachment