Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5357 มุมมอง

Hi, I am having a VPS hosting account, where i have installed Odoo10  - Centos 7,  However in the same VPS i have hosted multiple sites in this VPS. How can i have multipe Odoo 10 instances in the same VPS.


Example

hotelerp.com (want to have one erp with the database_name " hotel")

shoperp.com ( want to have an erp instance with the database_name "  shop")


Some one please help. 

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thanks fro the info - I am new to Odoo , could you tell me step by step with code of doing this please.  Really appreciate it and sorry for asking basic questions. 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

An Odoo instance can have multiple databases, see .../web/database/selector URL to see all your databases. On a server you can also install multiple Odoo instances using different ports (8069, etc.). As long as you do not use OCA's multi-website module, you can assign one hostname (subdomain.domain.tld) to one database.

You have 2 options to link hostnames to databases:

1. dbfilter configuration parameter in odoo.conf file
Depending on your regex expression you can assign subdomains or hostnames to database names

2. OCA module dbfilter_from_header
Allows you to directly assign a database name to a http request header in your proxy server vhost definition.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 24
20259
How to install odoo 10 in ubuntu 20.04? แก้ไขแล้ว
1
ก.ย. 23
3079
3
พ.ค. 23
5677
7
เม.ย. 23
49057
Barcode scanner from mobile แก้ไขแล้ว
1
ธ.ค. 22
7895