Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2958 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
0
déc. 15
3800
3
mai 24
8453
2
juil. 25
1799
3
juil. 25
2209
1
juil. 25
1507