Odoo Help


subdomain based db_filter?

on 2/16/15, 1:02 AM 696 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 Yelizariev
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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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: 696 times
Last updated: 3/16/15, 8:10 AM