Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I installed Odoo on Windows 2008 server. I would like users to access Odoo through our public website (e.g. company.com) without having to enter company.com:8069. I can either set the Odoo default port to 80, or redirect port 80 requests to 8069. Any ideas how I can accomplish this on Windows 2008 server? I tried the following command, but it didn't work:
netsh interface portproxy add v4tov4 listenaddress=MY_IP listenport=80 connectaddress=MY_IP connectport=8069
I found a solution for my problem by installing Apache server and configuring reverse proxy. Let me explain in more detail, since most tutorials are for Lİnux and not Windows:
1. Follow the instructions here to install and configure Apache server on Windows: https://gist.github.com/gen3ric/cfed87b4ec3f362006bb
2. At the last step use the following for httpd-vhosts.conf. Replace example.com with your domain name.
CustomLog "logs/example.com-access.log" common
Allow from all
ProxyPass http://example.com:8069/ connectiontimeout=5 timeout=300
If you are deploying to AWS, you need to use the private IP that is listed on the desktop, instead of the public IP. Once I did that it worked great. You will also need to set up the security role to allow port 80 through from the AWS console.
If you are not on AWS (or even if you are), you may need to open that port on the firewall on windows.
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 8/10/16, 9:50 AM|
|Seen: 1867 times|
|Last updated: 8/17/16, 1:30 AM|