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

openerp 8 website hosting on domain

Subscribe

Get notified when there's activity on this post

This question has been flagged
installationwebsaaswebserviceslocalhost
2 Replies
10162 Views
Avatar
NetbeamERP Technology

i want to host my openerp 8 website to my own domain.

right now it is working on local host but i want it on my own domain.

please help.

1
Avatar
Discard
Avatar
Viktor Vorobjov
Best Answer

Yo can use - nginx.

In 02.02.2014 need some tune /openerp_8.0/openerp/http.py Because when some body go on you page - for start need select Data Base.

diff --git a/openerp/http.py b/openerp/http.py
index 7ce70795a82f0998da67bc6da552d2ff1adf193a..c4d82a56f5a3243b73da98fe43df751887f69095 100644
--- a/openerp/http.py
+++ b/openerp/http.py
@@ -1113,6 +1113,9 @@ def db_monodb(httprequest=None):
 db_session = httprequest.session.db
 if db_session in dbs:
     return db_session
 +    else:
 +        db_session = "prolv8" # data base name for defaul not need select any more.
 +        return db_session

Nginx /etc/nginx/conf.d/youdomain.conf

server {

    listen 80;
    server_name  youdomain;
    charset utf-8;

    access_log  /var/log/nginx/prolv-access.log;      


    error_log   /var/log/nginx/prolv-error.log;  


            location / {
                proxy_pass         hxxp://192.168.2.143:8069/;  # openerp 8  xx to tt
                proxy_redirect     off;

                proxy_set_header   Host             $host;
                proxy_set_header   X-Real-IP        $remote_addr;
                proxy_set_header   X-Forwarded-For

$proxy_add_x_forwarded_for;

                client_max_body_size       10m;
                client_body_buffer_size    128k;

                proxy_connect_timeout      90;
                proxy_send_timeout         90;
                proxy_read_timeout         90;

                proxy_buffer_size          4k;
                proxy_buffers              4 32k;
                proxy_busy_buffers_size    64k;
                proxy_temp_file_write_size 64k;
            }

}

2
Avatar
Discard
Tobias Frankl

I tried to edit http.py as described, but didnt work as expected. Still have to select the DB -> in fact I have to type the name to the "select database" field. I wonder if something is wrong in my openerp.config file?

Viktor Vorobjov

Website work? no need edit openerp.config. you not need type name, need select. if not database in droplist - something wrong.

Tobias Frankl

Thank You very much. It worked after a Restart of the Virtual Machine. A Restart of Openerp was not sufficient (stop start).

NetbeamERP Technology
Author

Hi Viktor, It worked on localhost fine. but i want to run my website from my hosting domain http://www.xxxx.com which on godaddy server.

Viktor Vorobjov

install on godaddy server openerp and nginx, and configure like a top.

Avatar
Alejandro
Best Answer

I get this error :

502 Bad Gateway nginx/1.1.19

Something wrong in the domain.conf I think

I only replace this line proxy_pass hxxp://192.168.2.143:8069/ with this other proxy_pass http://PublicIP:8069/

What I'm missing ?

1
Avatar
Discard
Viktor Vorobjov

directly work public ip? may be firewall or routing in your's intranet

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 activate the web builder with the saas-5 branch ?
installation saas
Avatar
1
Mar 15
3949
Error installing local Odoo Solved
installation localhost odoo18
Avatar
Avatar
Avatar
2
Feb 25
3688
How to customize a website theme? Solved
web saas bootstrap
Avatar
Avatar
Avatar
Avatar
Avatar
11
Mar 22
72333
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an
web saas webshop
Avatar
1
May 20
11702
Installing Odoo/OpenERP on hosted domain
installation web help
Avatar
Avatar
Avatar
Avatar
3
Mar 15
27008
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