Odoo Help


subdomain based db_filter?

on 2/16/15, 1:02 AM 999 views

Hi all,

I used subdomain as database name, so tried this.

my dbs:

test1, db1

so i tried this as "test1.example.com", "db1.example.com" its working very well.

but i tried "demo.example.com" (there is no db named "demo", i know), it directs to "demo.example.com/web/database/manager".

here i want show "demo.example.com" is not available insted of manage databases page. is there any way to achive this? please let me know...!

thanks in advance

Ivan Elizaryev
On 2/16/15, 6:49 AM

You can use  test1, db1 as database names, but you you have to set  up:

dbfilter = ^%d$

Check db_filter function to understand how it works: 



To handle demo.example.com you can configure your web server (nginx etc.) according to your needs

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 2/16/15, 1:02 AM
Seen: 999 times
Last updated: 3/16/15, 8:10 AM