Community mailing list archives
Re: How to setup domain for Odoo server?by Daniel Blanco <firstname.lastname@example.org> - 06/19/2015 17:57:41
ProxyPass / http://localhost:8069/
# you can also use an already directed to your server domains
Header add X-ODOO_DBFILTER "yourdatabase"
RequestHeader add X-ODOO_DBFILTER "yourdatabase"
server_wide_modules=web,dbfilter_from_header # this line should be in the odoo.conf file. The server_wide_modules usually already exists in your server, but just with =web. Add dbfilter_from_header to this line.
This worked like a charm for me. In other customers' instances, I made exactly the same thing but with nginx instead of apache (works faster).
Hi Amit,I tried doing this adding IP to redirect the subdomain to my Odoo IP but the problem i am facing is if i enter abc.domainname.com in browser it takes me to Odoo IP but doesnt stays on abc.domainname.comCan anyone suggest how to do this that it stays on abc.domainname.com instead of showing the IP.On Fri, Jun 19, 2015 at 4:15 PM, Amit Parik <email@example.com> wrote:Hi Togar,What I suggest, You can setup the apache on sever and redirect the port 8069 to port 80.And set the DNS on your website(this is you already did I guess).After this whenever you open the mydomain.com odoo services has been called and open the odoo .Hope this can help.--On Fri, Jun 19, 2015 at 3:26 PM, Togar Hutabarat <firstname.lastname@example.org> wrote:
I remember there is (was) an article talking about setting up domain for Odoo without port after the domain URL. But too bad I can't find it now. Currently my Odoo server is available on mydomain.com:8069. What do I need to do to make it accessible on subdomain without port (mysubdomain.mydomain.com) ?
Togar Parnaehan Hutabarat---------
Thanks & regards,