Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Access Odoo from a SubDomain hosted on a different server

By
Marty Langen
on 9/21/14, 5:09 PM 1,088 views

Hi there,

We have installed Odoo v8 on a DigitalOcean server.  We would like to be able to access our installation of Odoo using a subdomain that is hosted on a separate cPanel server.

For Example:
http://odoo.mywebsite.com will pull up the Odoo installation located at http://xxx.xxx.xx.xx:8072

Does anyone know how to accomplish this?

1
Michael St-Georges
On 9/21/14, 6:14 PM

There are 3 ways this could be accomplished.

  1. Via a redirect from the cpanel server (htaccess, php script, html redirect)
  2. By proxying the requests trough the cpanel server (mod_proxy or mod_rewrite with proxy options)
  3. By assigning an A record to www.xxx.yyy.zzz and changing the default port for odoo (or not and using a proxy on the same server).

Pick your poison ;)

thank you for the suggestions. Do you know of any tutorials to accomplish any of the 3 methods you propose?

Marty Langen
on 9/21/14, 6:53 PM

Actually we would like to proceed with option 3. Could you point is in the right direction on how to setup a proxy on the odoo server

Marty Langen
on 9/21/14, 7:48 PM

See https://www.odoo.com/forum/help-1/question/nginx-reverse-proxy-on-80-443-32052

Michael St-Georges
on 9/21/14, 7:56 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/21/14, 5:09 PM
Seen: 1088 times
Last updated: 3/16/15, 8:10 AM