Odoo Help


Redirect a domain name to a port

Béchir Benbrika
on 1/17/14, 10:34 AM 2,011 views

Hello, I would like to redirect a domain name to a port Let me explain. I have a Ubuntu 12.04 server, and this server, there are two solutions OpenERP two deferent ports. For IP @ server, I created two subdomains with hostgator test1.openerptn.tn, test2.openerptn.tn. To access each solution test1.openerptn.tn: 8069 for the first solution and test2.openerptn.tn: 8068 for the second. Is it possible to run both under test1.openerptn.tn test2.openerptn.tn areas and each subdomain has its port. I think it is possible with iptables and NAT config but I do not know how.

Erdem Uney
On 6/17/14, 10:18 AM

Try using a reverse proxy like NginX and in the conf files you can say this domain to this port and that domain to that port. Also, you can use --db-filter=^%h$ option to filter the database list to the current domain, if you are running one instance of Odoo. If two instances than the solution is using a reverse proxy. Don't forget to set the listen port of Odoo 

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

0 follower(s)


Asked: 1/17/14, 10:34 AM
Seen: 2011 times
Last updated: 3/16/15, 8:10 AM