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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
5262
أدوات العرض
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
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل