İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2900 Görünümler

Hello Odoo Gurus of the world.


Newbie here with a multiple website question.


I have a self hosted Enterprise Odoo with 3 companies.

Odoo and the VPS is working with a subdomain of one of the companies,
 ej, erp. mydomain . com

This was achieved simply by adding a Type A DNS record to the domain with the prefix ERP and the IP of the  VPS. Worked like a charm on the first try.


Then i went into Odoo added the 2 companies, and tried again, Settings Website, Domain 

erp. secondomain . com

Added the Type record pointing to the VPS


But this wont work, im getting 404 error

Im I missing something? 

How can i get every company working on its own domain?

I don't want quotes sent from erp . secondomain . com coming back to erp. mydomain .com 

all pointers suggestions are welcomed.


Avatar
Vazgeç
En İyi Yanıt

For multiple website you also need to configure a reverse proxy. Have you configured a reverse proxy for both domains? You can read more about setting up a reverse proxy for multiple domains in the following post: 

https://www.odoo.com/forum/help-1/how-to-configure-a-multi-website-domain-site-126499 

If you prefer using Docker and Traefik as reverse proxy for multiple websites you can check out my blog post:

https://jortdevreeze.com/blog/odoo-2/a-comprehensive-guide-to-running-multiple-websites-in-odoo-6

I hope that helps!

Avatar
Vazgeç
Üretici

ohh this helps me to id the issue. So im missing the reverse proxy. I read your post! thanks. Unfortunately i dont think im running docker. I appreciate the pointers thanks

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ara 15
3750
3
May 24
8378
2
Tem 25
1715
3
Tem 25
2105
1
Tem 25
1457