Skip to Content
Menu
This question has been flagged
2 Replies
2406 Views

Here is what I would like to obtain:

  • one (single) instance of OpenERP in a server
  • from an administration interface define several customers, each customer will access its interface from a specific subdomain: customer1.domain.com, customer2.domain.com, etc.
  • for each customer (from the administration interface) configure which modules are enabled for that customer
  • each customer has a separate database

Does OpenERP already offer such functionalities? how can I do that?

thanks

Avatar
Discard
Best Answer

Hi,

You can run a two process with different port and set a domain to each process (using openerp.conf)

then you will access the two instance

just check in your  terminal

./openerp-server.py --xmlrpc-port=1122  --db-filter=db_name1

./openerp-server.py --xmlrpc-port=3344  --db-filter=db_name2

Avatar
Discard
Author Best Answer

Ok, how can I set a domain for each process? the domains will run on the same http port right? I would need more details..

thanks
 

Avatar
Discard

You can let Apache handle that for you. Lookup the documentation on sites-available. You can have apache reroute certain (sub)-domains to different running instances. For example: customer1.mydomain.com --> port 8070 and supplier.mydomain.com --> port 8170