Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
4453 Tampilan

In one PostgreSQL server, I have 2 databases.

  • Database A
  • Database B

I want the following domain names to point to database A.

  • domain-A.com
  • www.domain-A.com
  • *.domain-A.com
    • subdomain-1.domain-A.com
    • subdomain-2.domain-A.com

I want the domain name below to point to database B.

  • domain-B.com
  • www.domain-B.com
  • *.domain-B.com
  • domain-B1.com
  • www.domain-B1.com
  • *.domain-B1.com

How can I set dbfilter?

Avatar
Buang
Jawaban Terbai

Great!


But how to point domain1.com and domain2.com to one database as multiple companies or multiple websites?

Avatar
Buang
Penulis Jawaban Terbai

Thank you very much for your reply! It worked.
Solved this problem for me.
But after evaluating and testing, I finally chose to deploy multiple odoo through docker to distinguish different database connections.

Avatar
Buang
Jawaban Terbai

Hello, if you want:
- domain-A.com
- www.domain-A.com
- *.domain-A.com
​- subdomain-1.domain-A.com
​- subdomain-2.domain-A.com
Point to database A:
dbfilter = .*domain-A\.com$|^database A$|^subdomain-1\.domain-A\.com$

Use the same logic for domain B.


Avatar
Buang
Penulis

Thank you very much for your reply! It worked.
Solved this problem for me.
But after evaluating and testing, I finally chose to deploy multiple odoo through docker to distinguish different database connections.

Post Terkait Replies Tampilan Aktivitas
1
Agu 15
4204
3
Agu 25
2322
1
Mei 25
2546
1
Apr 25
3515
1
Apr 25
4344