Odoo Help


How to configure subdomain for every database?

Tomas Parnarauskas
on 6/6/13, 6:04 AM 2,307 views

How to configure OpenERP and web server so it would work the same as it working like in openerp.com SAAS? You create database named 'test' and it can be accessed using URL like test.my.openerp.com? Now I access my databases using localhost:8079/?db=name. And I want it to be accesible as name.localhost.

On 10/9/13, 7:56 AM

You need to configure your server to recognise a domain - go to /etc/hosts and add a domain for localhost

That's a per host name, what is asked is a per database name.

Daniel Reis
on 10/9/13, 8:26 AM

Yes, but its still calling localhost and not a domain name. If you want to configure sub-domains per database look at http://tinyurl.com/oe-multi-domain-easy-config

on 10/9/13, 8:52 AM
Brandon Newport
On 10/10/13, 7:12 PM

I would recommend using a reverse proxy with redirect. Easy enough to do with apache. Also I would recommend using SSL on the apache which can then redirect to nonSSL on the backend.

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: 6/6/13, 6:04 AM
Seen: 2307 times
Last updated: 3/16/15, 8:10 AM