Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5735 มุมมอง

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?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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?

ผู้เขียน

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

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
4623
2
มี.ค. 15
4847
1
ธ.ค. 24
682
0
ม.ค. 24
1536
0
ต.ค. 23
978