Hi Hans, Thanks for your response. I've made settings suggested by you in Store > website > http port and https port, it did not work. When I access ofbiz.mycompany.com, it still takes me to www.website1.com
Also let me correct myself, when I try to access ofbiz.mycompany.com, ofbiz serves the same content as it serves for www.website1.com and NOT re-directs as mentioned earlier. On Fri, Jun 10, 2011 at 12:34 PM, Hans Bakker <mailingl...@antwebsystems.com > wrote: > hi varun > > also make sure your domains are set in the related website entity: > content -> websites -> select website -> update http and https fields > > for others, the related blog is at: > > http://www.antwebsystems.com/control/ViewBlogArticle?contentId=18704&blogContentId=AWS_BLOG > > Regards, > Hans > > > -- > Ofbiz on twitter: http://twitter.com/apache_ofbiz > Myself on twitter: http://twitter.com/hansbak > Antwebsystems.com: Quality services for competitive rates. > > > On Fri, 2011-06-10 at 12:23 +0530, varun bhansaly wrote: > > Hi Hans, > > > > We've a similar requirement to host 2 websites and backend applications > on a > > single instance of ofbiz-10.04 on EC2. > > The websites have to be mounted on mounted on root. > > We are ready with the first website, www.website1.com. > > Website1 will be accessible at www.website1.com & backend applications > will > > be accessible at ofbiz.mycompany.com > > We've configured the DNS settings and currently both these URLs point to > the > > same IP address. > > > > We've applied virtual host settings in > > hot-deploy/website1/ofbiz-component.xml & > > framework/images/ofbiz-component.xml > > We've also applied your changes from revision 1081692 > > > > Though theres a problem when we try to access ofbiz.mycompany.com, it > > redirects to www.website1.com > > > > If you have a tip, please let us know. > > > > On Tue, Mar 15, 2011 at 3:01 PM, Hans Bakker > > <mailingl...@antwebsystems.com>wrote: > > > > > This function was already in OFbiz but it did not work anymore... > > > > > > fixed in revision 1081692. > > > > > > You can use multiple <web-apps with the same mount-point however with > > > different <virtual-host host-name specs" > > > > > > Regards, > > > Hans > > > > > > On Tue, 2011-03-15 at 13:35 +0700, Hans Bakker wrote: > > > > perhaps some extra info, we are using the Amazon ec2 loadbalancer as > > > > frontend (decrypting ssl) and pass on directly to the ofbiz system. > > > > > > > > Raj already suggested to use apache for that, but apache is not there > > > > and we would like to do this directly in OFBiz. > > > > > > > > Regards, > > > > Hans > > > > > > > > > > > > On Tue, 2011-03-15 at 13:03 +0700, Hans Bakker wrote: > > > > > May i have your opinion? > > > > > > > > > > We have the requirement to run several different ecommerce > domainnames > > > > > as a root application. > > > > > > > > > > I know we had a domain name in the webapp definition in > > > > > ofbiz-component.xml, but that was removed at a certain point. > > > > > > > > > > Any suggestions how to implement this? > > > > > Perhaps using the website entity? and using the webapp mount point > > > > > internally? > > > > > > > > > > thanks in advance for your suggestions.... > > > > > Regards, > > > > > Hans > > > > > > > > > > -- > > > Ofbiz on twitter: http://twitter.com/apache_ofbiz > > > Myself on twitter: http://twitter.com/hansbak > > > Antwebsystems.com: Quality services for competitive rates. > > > > > > > > > > > > > -- Regards, Varun Bhansaly