Odoo Help


openerp 8 : how to show a database's website by URL

PJ Soule
on 3/5/14, 6:49 AM 4,496 views

Hello everyone,

We're making some tests on OpeneERP 8 at this moment, and I don't find how to properly show the good website for a specific database on my server. To be more clear, I have my server, with 2 databases, and each database have the website_builder module installed. We're assuming the the first is names "data1" and the second "data2".

I launch a fresh browser, with no cache, then open the URL : localhost:8069/ : I get the database selection form. I don't select any database, cause I want to find an URL which could show the good web front, so I type, for testing purpose, localhost:8069/?db=data1 : the login form is shown, with the good database selected. That's better, but still not what I want.

To try, I re-open localhost:8069/ : ok, this time, the good website is shown !

Then, to show the good frontend, I have to go to le login page, change the database, then reopen the home to have the good website shown.

Is there a way to show the good website without having to pass through the database selction/login page ?

At the end, we wil have a reverse proxy to manage to show the good website using the domain name, but the issue is still the same : I don't know hos to show the good website, using only the URL.

Thank you !

Salton Massally
On 3/19/14, 11:20 AM

You can force the loading of a specific database by passing --db-filter=dbname when starting the server

Yes, but the initial idea was to avoid to launch an openerp instance for every database which have a website. But we didn't find any solution, so we went this way.

Thank you for your post !

PJ Soule
on 3/28/14, 12:37 PM
Houssine BAKKALI
On 7/28/14, 10:52 AM

you can use the db filter with a regular expression

have a look a this https://www.odoo.com/forum/help-1/question/website-module-and-multi-db-43191


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

1 follower(s)


Asked: 3/5/14, 6:49 AM
Seen: 4496 times
Last updated: 3/16/15, 8:10 AM