virtualMachineodoo

Configure domain-based database filters

Odoo can be configured to use sub-domain filtering so the users can run different Odoo databases on different sub-domains. This means you can have different Odoo websites/applications for different uses.

To configure this, follow the next steps:

  • Edit the /opt/bitnami/odoo/conf/odoo.conf file and change these parameters:

      db_name = False
      dbfilter = ^%d$
      proxy_mode = True
    
  • Restart all the services:

      $ sudo /opt/bitnami/ctlscript.sh restart
    
Last modification February 9, 2023