Skip to Content
Menú
This question has been flagged
1 Respondre
2876 Vistes

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
Descartar
Best Answer

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
Descartar
Autor

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

Related Posts Respostes Vistes Activitat
0
de des. 15
3734
3
de maig 24
8338
2
de jul. 25
1632
3
de jul. 25
2086
1
de jul. 25
1395