I need to link my subdomain with the Odoo 11 application which is running in windows server. I have been trying this for a while and ending up in finding the solution for ubuntu server. Please help me in understanding this.
Your help will be highly appreciable. Thanks in Advance.
2
Answers
Assuming that the Odoo 11 listen to the default port 8069
So
in the virtual host add these lines
If needed – Change the url as needed, for example if the url of Odoo 11 is http://localhost:8069/YOUR_URL – so change the line that start with “Define” to your url.
Why Apache? IMO it will be better to use any other reverse proxy than Apache, one more focused on being a reverse proxy like Traefik or Nginx or Caddy just to name a few that seems to live more in 2018 than Apache. Nothing against Apache, just that IMO there are some better tools for doing reverse proxy today