Odoo Help

2

2
10 Answers
0
calvin South Africa
2/9/18, 6:06 AM

 Is it  possible to add domain filter on the odoo which running subdomain filter?.

0
Roberto Zanardo Italy
10/7/17, 5:18 PM

I've setup the environment using your suggestions and works on Odoo 11 too, also on windows:

http://robertozanardo.com/blog/2017/10/06/testing-odoo-11-port-80-with-multi-web-site-windows-server/

0
Sean Donovan Canada
4/16/17, 12:16 PM

(Since I can't delete this misthreaded answer) Odoo v10 does not allow dashes in the database name and why install any webserver when Odoo can do it by adding a single line to the configuration line.

3 Comments
twanda AG, Ermin Trevisan Switzerland
4/17/17, 2:26 AM

I did not test it yet, but you could also use underscores, IIRC.

twanda AG, Ermin Trevisan Switzerland
4/17/17, 2:29 AM

But I would use %d instead of %h anyway. This works fine for the most cases because the www. gets stripped off.

twanda AG, Ermin Trevisan Switzerland
4/17/17, 2:53 AM

Also it is not good practice to be forced to remove "www." from a FQDN. Keeping the "www." subdomain is mostly recommended for convenience and SEO reasons.

0
Avatar

Ermin Trevisan Switzerland

--Ermin Trevisan--
16556
| 8 7 10
Walchwil, Switzerland
--Ermin Trevisan--


Ermin Trevisan Switzerland
4/16/17, 9:32 AM

I do not recommend your setup. A proper multi-domain deployment is a set-up with proxy server and SSL. How to do that is truly well documented, see for example here: https://www.odoo.com/forum/help-1/question/odoo-nginx-configuration-with-domain-name-and-db-filtering-for-multiple-domain-name-114775#answer-114777

3 Comments
Sean Donovan Canada
4/16/17, 1:48 PM

I followed your links, and what you recommend (https://www.odoo.com/forum/help-1/question/odoo-8-0-apache2-how-to-configure-a-proxy-from-an-url-to-a-specific-database-in-a-multi-database-setup-110545#answer-110604) doesn't work with v10 because dashes are no longer allowed in the database name.

Why install any webserver when Odoo can do it by adding a single line to the configuration file.

As for SSL - use Cloudflare with a "Flexible" certificate or "Full" with a server side Let's Encrypt cert.

twanda AG, Ermin Trevisan Switzerland
4/17/17, 2:42 AM

Generally, it is definitely not a general use case or recommended procedure to rely on a freemium service for vital deployments if it is not necessary. Additionally I do not consider it as an elegant solution in a multi-tenant multi-client environment, which it is usually the case when using dbfilter.

twanda AG, Ermin Trevisan Switzerland
4/8/18, 2:50 AM

As this obviously still gets attention, I have to confirm my critic. A Flexible Cloudflare-Certificate is not a solution as stated by Cloudflare themselves: https://support.cloudflare.com/hc/en-us/articles/200170416-What-do-the-SSL-options-mean-

and if you want to use Full encryption on Cloudflare, you have to show how to install and deploy a certificate on your server using your approach. My recommendation remain: stay away from such advise, set up a proper reverse proxy, meanwhile this is very easy to install and it does not justify to use such flawed methods as presented here.

Ask a Question
Writer
Keep Informed
4 follower(s)
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.

Register
Odoo Training Center

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

Test it now