Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

A Guide for setting up Odoo 14 on Windows 10 Professional with the IIS

Subscribe

Get notified when there's activity on this post

This question has been flagged
setuphowtoreverse_proxywindows10IIS
1 Reply
15106 Views
Avatar
Fabian Fügen

This is a full guide for setting up Odoo 14 under Windows 10 Professional with Microsoft IIS.

1. Windows Professional or Windows Server is required. These instructions apply to Windows 10 Professional.

2.      Activate IIS. There are many instructions on how to do this on the Internet.  https://teckangaroo.com/enable-iis-windows-10/



3     URL Rewrite installieren  https://www.iis.net/downloads/microsoft/url-rewrite

        It is very important not to use "localhost" as a value in the reverse proxy rules, otherwise         various things will not work properly. Instead, http://127.0.0.1:8069 must be used. The           port must match the port you are using for Odoo.


4     Install Application Request Routing https://www.iis.net/downloads/microsoft/application-         request-routing  

5     Connect the domain to your own computer. The best thing to do here is to request a static IP from your provider and then forward the domain accordingly to the IP address of the router. Port forwarding must be set up in the router so that incoming requests are forwarded via port 80 and 443 to the computer on which Odoo is running. Example with the Fritz Box router https://www.cfos.de/en-us/cfos-personal-net/port-forwarding/avm-fritzbox-7490.htm Please  set up the forwarding  for port 80 (http) and for port 443 (https ). Nowadays one should not only work with http, because otherwise the files will not be exchanged in encrypted form, which is a very high security risk. However, this is now well known.



6 Create SSL certificate with https://certifytheweb.com/ You can find extensive instructions here to edit the bindings in the IIS.



7    Edit IIS bindings.  https://www.ssl.com/how-to/binding-in-iis-10/


8    Redirect http to https 

https://www.namecheap.com/support/knowledgebase/article.aspx/9953/38/iis-redirect-http-to-https/

9    Create reverse proxy rules in the ISS https://shyju.wordpress.com/2019/04/10/enable-iis-redirect-and-https-for-odoo-on-windows-server/ 

Activate the following values ​​under "Synchronize content": A, Form, Frame, IFrame, Img

It works fine for me without activating more values, but it may be possible to activate further. However, there are also problems if you activate the wrong values.


10.    Create the second "Outgoing Rule".


Pattern: & lt; iframe src = & quot; http://127.0.0.1:8069

Value: & lt; iframe src = & quot; https://yourdomain.com/

Then replace "Yourdomain" with your own domain address.


This specific IFrame is not covered by the normal rule, which in my opinion should be improved in the Odoo code so that the second rule is not needed. If you don´t do this, there will be a Problem in the Elearnig modul wich is also described here:       https://www.odoo.com/de_DE/forum/hilfe-1/odoo-14-elearning-iframe-address-of-the-content-wrong-localhost-8069-instead-of-the-url-of-my-domain-195119


11    Make Odoo web address static. You still have to change the web address within Odoo and make it static so that it does not always automatically reset itself to http: // localhost: 8069. This is important so that links that are to be shared also get the correct link address that points to the correct domain.

 

a    Activate developer mode as administrator via Settings and activate at the bottom of the page.

b    Open the settings again

c    Open technical parameters system parameters in the top line

d    Create a new value: "web.base.url.freeze" and enter "True" or "1" as the value without the quotation marks

e    Now adjust the URL of the page under "web.base.url" (the default value is currently //localhost:8069). Important! Do not insert a slash “/” at the end of the URL. Otherwise problems arise:


Key: web.base.url

Value: https://yourdomain.com 


(replace Yourdomain with your own address)


f    Now save

g    After logging out and logging in again, check whether the URL under "web.base.url" remains the same. Here are also instructions:

https://www.odoo.com/de_DE/forum/hilfe-1/web-base-url-automatic-reset-31937


12 Look also here for more informations https://www\\.odoo\\.com/documentation/14\\.0/administration/install/deploy\\.html 

13 \ Look\ here\ for\ the\ security\ settings\ settings https://www.odoo.com/documentation/14.0/administration/install/deploy.html

14 In particular, the "proxy_mode" should be activated in Odoo when a reverse proxy is running. You can find the file in the installation folder under "Programs - Odoo Installation Folder - Server" Open the odoo.conf file with an editor such as Note ++ and set the value proxy_mode to True. Save and restart the server.


If something is not working properly or you have questions, just send a comment.


0
Avatar
Discard
Sehrish

Good effort..

Mani

https://shyju.wordpress.com/2019/04/10/enable-iis-redirect-and-https-for-odoo-on-windows-server/ hope its not redirecting in top

Fabian Fügen
Author

See step 3 in the descrition above, you have to use:  http://127.0.0.1:8069 insted of http://localhost. The descrition under this link was not realy working for me but the code at the end of this site looks correct:  https://shyju.wordpress.com/2019/04/10/enable-iis-redirect-and-https-for-odoo-on-windows-server/ 

In the end, however, I switched to linux. I recommend using nginx as web server on windows. The setup should be identical to Linux and it is much easier to implement. There are also a lot of guides online for Nginx. 

However, I haven't tested it on windows with nginx but it makes a lot more sense.


Avatar
Alen
Best Answer

Thank you. I have one problem with that configuration.When I use 8069 http port on both side with two account, chat works.
But when I use proxy reverse with or without SSL.. I do not received messages in chat.

0
Avatar
Discard
Fabian Fügen
Author

Hi Alen. I need some more information to help. Please note that there is a different port for the chat. You can see this in the NGINX configuration, you need to forward two ports to make it work. I recommend to use NGINX under Windows too, which I haven't tested yet but the setup is much easier in NGINX. There is also much more information available and NGIX is both fast and secure. You can find the basic setup for NGINX here:

https://www.odoo.com/documentation/14.0/administration/install/deploy.html

In this NGINX configuration, you can also see the second port which has to be forwarded for the chat, to work:

#odoo server
upstream odoo {
server 127.0.0.1:8069;
}
upstream odoochat {
server 127.0.0.1:8072;
}

Alen

Hi Fabian,

 

Yes thank you.. I removed IIS already and configure reverse proxy with Caddyserver on windows.. Everything work fine now!

 

 

Thank you..

 

 

Alen Antolković, direktor

+385 91 60 40 457

 

A2 IT d.o.o.

PRODAJA I URED: Zagrebačka ul. 43  I 10380 Sveti Ivan Zelina I Croatia

TEL: +385 1 4813 957

OIB: HR26641160014

M: info@a2it.hr  I   W: www.a2it.hr

 

 


IZJAVA O ODRICANJU ODGOVORNOSTI: Ova poruka elektroničke pošte, kao i svi privitci, može sadržavati povjerljive i/ili zakonski povlaštene informacije koje su namijenjene isključivo naznačenom(im) primatelju(ima). Ako ste ovu poruku primili greškom, odmah obavijestite pošiljatelja, a poruku kao i sve njezine kopije i privitke odmah i bez tiskanja, čitanja ili kopiranja trajno obrišite s računalnog sustava. Osim primatelju, strogo je zabranjena svaka uporaba, distribucija ili kopiranje ove poruke. Primatelj treba provjeriti ovu poruku e-pošte i sve privitke na zlonamjerne programe koji se mogu nalaziti u e-pošti usprkos implementiranim kontrolama.

 

DISCLAIMER: This e-mail, and any attachments, may contain confidential, and/or legally privileged information, and is intended solely for use only of the named addressee(s). If you have received this e-mail in error, please notify the sender immediately, and permanently delete the original and any copies of this e-mail, and any attachments, without printing, reading or copying them. Any use, distribution, or copying of this e-mail other than by the inteded recipient is strictly prohibited. The recipient should check this e-mail and any attachments against malicious code potentially transmitted by this e-mail despite implemented controls.

 

From: FabianF <notifications@mail.odoo.com>
Sent: Wednesday, February 8, 2023 3:28 PM
To: Alen Antolković I A2 IT <alen@a2it.hr>
Subject: Re: A Guide for setting up Odoo 14 on Windows 10 Professional with the IIS

 

Hi Alen. I need some more information to help. Please note that there is a different port for the chat. You can see this in the NGINX configuration, you need to forward two ports to [...] ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​

Odoo S.A.


Forumsbeitrag ansehen

  

A Guide for setting up Odoo 14 on Windows 10 Professional with the IIS

  


Hi Alen. I need some more information to help. Please note that there is a different port for the chat. You can see this in the NGINX configuration, you need to forward two ports to make it work. I recommend to use NGINX under Windows too, which I haven't tested yet but the setup is much easier in NGINX. There is also much more information available and NGIX is both fast and secure. You can find the basic setup for NGINX here:

https://www.odoo.com/documentation/14.0/administration/install/deploy.html

In this NGINX configuration, you can also see the second port which has to be forwarded for the chat, to work:

#odoo server
upstream odoo {
server 127.0.0.1:8069;
}
upstream odoochat {
server 127.0.0.1:8072;
}


Odoo S.A.

+32 81 81 37 00 | info@odoo.com | https://www.odoo.com

Powered by Odoo

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
How to setup one-time payslip
setup payslip howto
Avatar
0
Apr 25
1201
How to RTL panels and change fonts for Persian and Arabic in Odoo Community
setup
Avatar
Avatar
Avatar
2
Nov 25
1365
Timeout waiting for ioT box to respond ( issue ) Help please!
setup
Avatar
0
Aug 25
1215
Epson server direct print not found,the printer is not reachable. Solved
setup
Avatar
1
Aug 25
2284
expected duration
setup
Avatar
0
Jul 25
1211
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now