Domain Name and Multiple Stores in ofbiz

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

Domain Name and Multiple Stores in ofbiz

Hammad Afridi
HI All,
I was trying to understand the catalog manager and got to know that ofbiz can provides multiple stores.My question is that is it possible to point a different domain name to each of the store.If yes then what are the option to do it.Thanks.







Regards,

Hammad Ali Khan Afridi
 

Mobile         0044 7534171187
MSN            [hidden email]
Yahoo!        [hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: Domain Name and Multiple Stores in ofbiz

rajsaini
Hi Hammad,

Yes it is possible to point different domain to each store. Stores are
attached to websites. Website ID is configured in the web.xml of each
website. Therefore, if you are going to have different website with
different stores, you are going to multiple websites (similar to the
demo e-commerce site).

You can map your domain to store either using Apache web server virtual
hosting or Tomcat (Tomcat is embedded in OFBiz).

Thanks,

Raj

Hammad Afridi wrote:

> HI All,
> I was trying to understand the catalog manager and got to know that ofbiz can provides multiple stores.My question is that is it possible to point a different domain name to each of the store.If yes then what are the option to do it.Thanks.
>
>
>
>
>
>
>
> Regards,
>
> Hammad Ali Khan Afridi
>  
>
> Mobile         0044 7534171187
> MSN            [hidden email]
> Yahoo!        [hidden email]
>
>
>      
>  

Reply | Threaded
Open this post in threaded view
|

Re: Domain Name and Multiple Stores in ofbiz

Hammad Afridi
How can I do this in tomcat ??? Do you think it is a feasible solution to have thousands of stores id in the same web.xml? Does this affect performance  in any way having so many entries in the same web.xml.







Regards,

Hammad Ali Khan Afridi
 

Mobile         0044 7534171187
MSN            [hidden email]
Yahoo!        [hidden email]

--- On Tue, 3/23/10, Raj Saini <[hidden email]> wrote:


From: Raj Saini <[hidden email]>
Subject: Re: Domain Name and Multiple Stores in ofbiz
To: [hidden email]
Date: Tuesday, March 23, 2010, 4:09 AM


Hi Hammad,

Yes it is possible to point different domain to each store. Stores are
attached to websites. Website ID is configured in the web.xml of each
website. Therefore, if you are going to have different website with
different stores, you are going to multiple websites (similar to the
demo e-commerce site).

You can map your domain to store either using Apache web server virtual
hosting or Tomcat (Tomcat is embedded in OFBiz).

Thanks,

Raj

Hammad Afridi wrote:

> HI All,
> I was trying to understand the catalog manager and got to know that ofbiz can provides multiple stores.My question is that is it possible to point a different domain name to each of the store.If yes then what are the option to do it.Thanks.
>
>
>
>
>
>
>
> Regards,
>
> Hammad Ali Khan Afridi

>
> Mobile         0044 7534171187
> MSN            [hidden email]
> Yahoo!        [hidden email]
>
>
>       
>   




Reply | Threaded
Open this post in threaded view
|

Re: Domain Name and Multiple Stores in ofbiz

rajsaini
You cant have 1000's of store id in web.xml. Each web.xml will have just
one site id. However, system can have 1000's of store depending on the
hardware you are using.

Look for virtual hosts in Tomcat. In OFbiz, the file you will need to
edit is ${ofbiz.home}/framework/base/ofbiz-containers.xml.

Thanks,

Raj

Hammad Afridi wrote:

> How can I do this in tomcat ??? Do you think it is a feasible solution to have thousands of stores id in the same web.xml? Does this affect performance  in any way having so many entries in the same web.xml.
>
>
>
>
>
>
>
> Regards,
>
> Hammad Ali Khan Afridi
>  
>
> Mobile         0044 7534171187
> MSN            [hidden email]
> Yahoo!        [hidden email]
>
> --- On Tue, 3/23/10, Raj Saini <[hidden email]> wrote:
>
>
> From: Raj Saini <[hidden email]>
> Subject: Re: Domain Name and Multiple Stores in ofbiz
> To: [hidden email]
> Date: Tuesday, March 23, 2010, 4:09 AM
>
>
> Hi Hammad,
>
> Yes it is possible to point different domain to each store. Stores are
> attached to websites. Website ID is configured in the web.xml of each
> website. Therefore, if you are going to have different website with
> different stores, you are going to multiple websites (similar to the
> demo e-commerce site).
>
> You can map your domain to store either using Apache web server virtual
> hosting or Tomcat (Tomcat is embedded in OFBiz).
>
> Thanks,
>
> Raj
>
> Hammad Afridi wrote:
>  
>> HI All,
>> I was trying to understand the catalog manager and got to know that ofbiz can provides multiple stores.My question is that is it possible to point a different domain name to each of the store.If yes then what are the option to do it.Thanks.
>>
>>
>>
>>
>>
>>
>>
>> Regards,
>>
>> Hammad Ali Khan Afridi
>>  
>>
>> Mobile         0044 7534171187
>> MSN            [hidden email]
>> Yahoo!        [hidden email]
>>
>>
>>        
>>    
>>    
>
>
>
>
>      
>  

Reply | Threaded
Open this post in threaded view
|

Re: Domain Name and Multiple Stores in ofbiz

Hammad Afridi
So does that mean that I need to have separate front application for each store as youy are saying that I need separate web.xml ??
 
My requirements is to have a single ofbiz application running on tomcat with multiple stores in it. BUt each store should have a separate domain name and hence domain poitned to that store in the same application.
 
Is this possible ? Hope you understandd my requirement.Thanks for your replies.






Regards,

Hammad Ali Khan Afridi
 

Mobile         0044 7534171187
MSN            [hidden email]
Yahoo!        [hidden email]

--- On Tue, 3/23/10, Raj Saini <[hidden email]> wrote:


From: Raj Saini <[hidden email]>
Subject: Re: Domain Name and Multiple Stores in ofbiz
To: [hidden email]
Date: Tuesday, March 23, 2010, 4:43 PM


You cant have 1000's of store id in web.xml. Each web.xml will have just one site id. However, system can have 1000's of store depending on the hardware you are using.

Look for virtual hosts in Tomcat. In OFbiz, the file you will need to edit is ${ofbiz.home}/framework/base/ofbiz-containers.xml.

Thanks,

Raj

Hammad Afridi wrote:

> How can I do this in tomcat ??? Do you think it is a feasible solution to have thousands of stores id in the same web.xml? Does this affect performance  in any way having so many entries in the same web.xml.
>
>
>
>
>
>
>
> Regards,
>
> Hammad Ali Khan Afridi

> Mobile         0044 7534171187
> MSN            [hidden email]
> Yahoo!        [hidden email]
>
> --- On Tue, 3/23/10, Raj Saini <[hidden email]> wrote:
>
>
> From: Raj Saini <[hidden email]>
> Subject: Re: Domain Name and Multiple Stores in ofbiz
> To: [hidden email]
> Date: Tuesday, March 23, 2010, 4:09 AM
>
>
> Hi Hammad,
>
> Yes it is possible to point different domain to each store. Stores are attached to websites. Website ID is configured in the web.xml of each website. Therefore, if you are going to have different website with different stores, you are going to multiple websites (similar to the demo e-commerce site).
>
> You can map your domain to store either using Apache web server virtual hosting or Tomcat (Tomcat is embedded in OFBiz).
>
> Thanks,
>
> Raj
>
> Hammad Afridi wrote:
>   
>> HI All,
>> I was trying to understand the catalog manager and got to know that ofbiz can provides multiple stores.My question is that is it possible to point a different domain name to each of the store.If yes then what are the option to do it.Thanks.
>>
>>
>>
>>
>>
>>
>>
>> Regards,
>>
>> Hammad Ali Khan Afridi
>>   
>> Mobile         0044 7534171187
>> MSN            [hidden email]
>> Yahoo!        [hidden email]
>>
>>
>>               
>
>
>
>
>         




Reply | Threaded
Open this post in threaded view
|

Re: Domain Name and Multiple Stores in ofbiz

rajsaini
I don't think it is possible out of the box. It looks to me you are
looking for multi tenant system. If all the stores have single owner and
there is no issue of mixing data, you may do this at Catalog level. You
can create multiple catalogs and then map each catalog to a domain from
Apache Web server. Of course, there will be no data partition among the
stores. All stores will share the same back end catalog manager,
customers, orders etc.

Thanks,

Raj

Hammad Afridi wrote:

> So does that mean that I need to have separate front application for each store as youy are saying that I need separate web.xml ??
>  
> My requirements is to have a single ofbiz application running on tomcat with multiple stores in it. BUt each store should have a separate domain name and hence domain poitned to that store in the same application.
>  
> Is this possible ? Hope you understandd my requirement.Thanks for your replies.
>
>
>
>
>
>
> Regards,
>
> Hammad Ali Khan Afridi
>  
>
> Mobile         0044 7534171187
> MSN            [hidden email]
> Yahoo!        [hidden email]
>
> --- On Tue, 3/23/10, Raj Saini <[hidden email]> wrote:
>
>
> From: Raj Saini <[hidden email]>
> Subject: Re: Domain Name and Multiple Stores in ofbiz
> To: [hidden email]
> Date: Tuesday, March 23, 2010, 4:43 PM
>
>
> You cant have 1000's of store id in web.xml. Each web.xml will have just one site id. However, system can have 1000's of store depending on the hardware you are using.
>
> Look for virtual hosts in Tomcat. In OFbiz, the file you will need to edit is ${ofbiz.home}/framework/base/ofbiz-containers.xml.
>
> Thanks,
>
> Raj
>
> Hammad Afridi wrote:
>  
>> How can I do this in tomcat ??? Do you think it is a feasible solution to have thousands of stores id in the same web.xml? Does this affect performance  in any way having so many entries in the same web.xml.
>>
>>
>>
>>
>>
>>
>>
>> Regards,
>>
>> Hammad Ali Khan Afridi
>>  
>> Mobile         0044 7534171187
>> MSN            [hidden email]
>> Yahoo!        [hidden email]
>>
>> --- On Tue, 3/23/10, Raj Saini <[hidden email]> wrote:
>>
>>
>> From: Raj Saini <[hidden email]>
>> Subject: Re: Domain Name and Multiple Stores in ofbiz
>> To: [hidden email]
>> Date: Tuesday, March 23, 2010, 4:09 AM
>>
>>
>> Hi Hammad,
>>
>> Yes it is possible to point different domain to each store. Stores are attached to websites. Website ID is configured in the web.xml of each website. Therefore, if you are going to have different website with different stores, you are going to multiple websites (similar to the demo e-commerce site).
>>
>> You can map your domain to store either using Apache web server virtual hosting or Tomcat (Tomcat is embedded in OFBiz).
>>
>> Thanks,
>>
>> Raj
>>
>> Hammad Afridi wrote:
>>    
>>    
>>> HI All,
>>> I was trying to understand the catalog manager and got to know that ofbiz can provides multiple stores.My question is that is it possible to point a different domain name to each of the store.If yes then what are the option to do it.Thanks.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Regards,
>>>
>>> Hammad Ali Khan Afridi
>>>    
>>> Mobile         0044 7534171187
>>> MSN            [hidden email]
>>> Yahoo!        [hidden email]
>>>
>>>
>>>                
>>>      
>>
>>
>>          
>>    
>
>
>
>
>      
>  

Reply | Threaded
Open this post in threaded view
|

Re: Domain Name and Multiple Stores in ofbiz

Hammad Afridi
Yes thats what I want.I want to have multiple stores with common catalog and each store owner will have thier separate admin page. all the data will be common and the data which is not supposed to be shared we will handle that through application ourselves.
 
Yes I had a look at the catalog manager where we can have multiple stores but the onyl thing I am not sure how can I have each store mapped to one unique domain.







Regards,

Hammad Ali Khan Afridi
 

Mobile         0044 7534171187
MSN            [hidden email]
Yahoo!        [hidden email]

--- On Tue, 3/23/10, Raj Saini <[hidden email]> wrote:


From: Raj Saini <[hidden email]>
Subject: Re: Domain Name and Multiple Stores in ofbiz
To: [hidden email]
Date: Tuesday, March 23, 2010, 5:02 PM


I don't think it is possible out of the box. It looks to me you are
looking for multi tenant system. If all the stores have single owner and
there is no issue of mixing data, you may do this at Catalog level. You
can create multiple catalogs and then map each catalog to a domain from
Apache Web server. Of course, there will be no data partition among the
stores. All stores will share the same back end catalog manager,
customers, orders etc.

Thanks,

Raj

Hammad Afridi wrote:

> So does that mean that I need to have separate front application for each store as youy are saying that I need separate web.xml ??

> My requirements is to have a single ofbiz application running on tomcat with multiple stores in it. BUt each store should have a separate domain name and hence domain poitned to that store in the same application.

> Is this possible ? Hope you understandd my requirement.Thanks for your replies.
>
>
>
>
>
>
> Regards,
>
> Hammad Ali Khan Afridi

>
> Mobile         0044 7534171187
> MSN            [hidden email]
> Yahoo!        [hidden email]
>
> --- On Tue, 3/23/10, Raj Saini <[hidden email]> wrote:
>
>
> From: Raj Saini <[hidden email]>
> Subject: Re: Domain Name and Multiple Stores in ofbiz
> To: [hidden email]
> Date: Tuesday, March 23, 2010, 4:43 PM
>
>
> You cant have 1000's of store id in web.xml. Each web.xml will have just one site id. However, system can have 1000's of store depending on the hardware you are using.
>
> Look for virtual hosts in Tomcat. In OFbiz, the file you will need to edit is ${ofbiz.home}/framework/base/ofbiz-containers.xml.
>
> Thanks,
>
> Raj
>
> Hammad Afridi wrote:
>   
>> How can I do this in tomcat ??? Do you think it is a feasible solution to have thousands of stores id in the same web.xml? Does this affect performance  in any way having so many entries in the same web.xml.
>>
>>
>>
>>
>>
>>
>>
>> Regards,
>>
>> Hammad Ali Khan Afridi
>>   
>> Mobile         0044 7534171187
>> MSN            [hidden email]
>> Yahoo!        [hidden email]
>>
>> --- On Tue, 3/23/10, Raj Saini <[hidden email]> wrote:
>>
>>
>> From: Raj Saini <[hidden email]>
>> Subject: Re: Domain Name and Multiple Stores in ofbiz
>> To: [hidden email]
>> Date: Tuesday, March 23, 2010, 4:09 AM
>>
>>
>> Hi Hammad,
>>
>> Yes it is possible to point different domain to each store. Stores are attached to websites. Website ID is configured in the web.xml of each website. Therefore, if you are going to have different website with different stores, you are going to multiple websites (similar to the demo e-commerce site).
>>
>> You can map your domain to store either using Apache web server virtual hosting or Tomcat (Tomcat is embedded in OFBiz).
>>
>> Thanks,
>>
>> Raj
>>
>> Hammad Afridi wrote:
>>   
>>     
>>> HI All,
>>> I was trying to understand the catalog manager and got to know that ofbiz can provides multiple stores.My question is that is it possible to point a different domain name to each of the store.If yes then what are the option to do it.Thanks.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Regards,
>>>
>>> Hammad Ali Khan Afridi
>>>   
>>> Mobile         0044 7534171187
>>> MSN            [hidden email]
>>> Yahoo!        [hidden email]
>>>
>>>
>>>               
>>>       
>>
>>
>>         
>>     
>
>
>
>
>       
>