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

Website configuration

Subscribe

Get notified when there's activity on this post

This question has been flagged
6 Replies
9531 Views
Avatar
Marcio Valenzuela

Ive installed odoo 9 on a remote server.  How do I configure the domain/ip?  So far my ip:8069 shows me the database selector.  I want to configure it now so that clients go to ip:80 and see the website.

 



0
Avatar
Discard
Avatar
Damon
Best Answer

edit your /etc/odoo-server.conf file

change xmlrpc_port = 8069

to xmlrpc_port = 80

restart server

The search feature on this forum works pretty well too :) so if for instance this change doesn't work for you, you can see other people who have made changes to iptables, front ended nginx etc. search:  change port 8069 and see what all this site has to offer.

0
Avatar
Discard
Marcio Valenzuela
Author

Ok I didnt make myself clear enough or perhaps Im confused. As I understand it, there are 2 separate points of entry into the system. The one IP:8069 takes the user to a database selector. This is only for employees of the company to log into the database and makes sales or purchases etc. The other is for clients who wish to view the company website, view the catalog and perhaps buy something online. I understand 8069 is the backend for employees. But if I make the change you suggested, then employees would now have to go to IP:80 to access the database selector. But where do clients go to view the website catalog?

Damon

Odoo will only be hosted on the port, the single port, you specify. The way you grant access to the back end is by having the login system. You can have people self register, which gives them limited access as default (like you would use for a recurring customer/client/partner), or you can setup their accounts for them and give them access to all the backend stuff (your sales team/designer/accountant/etc). The login is in the top right of your homepage, and reads "Sign In" in a default website setting.

Marcio Valenzuela
Author

So any client that wants to view my catalog/website, needs to go to the ip:8069, select the database and register and log in?

Damon

No, not necessarily. if you have multiple databases, either get rid of the ones you are not using, or set the following in your /etc/odoo-server.conf

db_name = DatabaseName

dbfilter = DatabaseName

list_db = False

Marcio Valenzuela

OK but they still have to register? So they'd basically have to login and view a special version of odoo designed as a website for that particular kind of user? They can't just punch in an IP and see a catalog website as they might do at Walmart.com or something like that?

Damon

@Marcio, they will not have to register once proper settings are made using proxy server, database elimination, or iptables.

OdooBot

OK I'm really confused. Is there a tutorial somewhere?

On Sun, Dec 18, 2016 at 3:51 PM Damon <damon@solutionarts.net> wrote:

@Marcio, they will not have to register once proper settings are made using proxy server, database elimination, or iptables.

--
Damon


Sent by Odoo S.A. using Odoo.

Damon

Try reading https://www.safaribooksonline.com/library/view/odoo-development-cookbook/9781785883644/ch16.html , but Google and the search above are your friends too

Damon

Answer the following questions so myself or someone else will be better able to help you:

Do you have the Website Builder App installed as a part of Odoo? (needs to be Yes to visit site w/o having to login)

Do you have more than one Odoo database?

If yes, do you need more than one Odoo database?

If yes, are you sure?(if you have more than one db, then using the dbfilter, dbname changes above will help)

If I go to http://yourodoosite.com , what do I see?

If I go to http://yourodoosite.com:8069 , what do I see?

if in console/terminal you type in:

psql -l

what is returned?

Marcio Valenzuela
Author

Ok:

1. Yes, website builder app is installed

2. Im not using a domain name, since that is pointing somewhere else at the moment. Im using an ip.

3. IP points me to the default webpage on my server, which is not configured, so I get a 404 not found.

4. IP:8069 takes me to odoo, my database selector. I have 2 databases at present but the test one I can eliminate. I dont need it, I dont need more than one database.

5. When I type that in the ssh terminal to my server I get:

root@server:/etc/odoo# psql -l

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_US.UTF-8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

psql: FATAL: role "root" does not exist

Marcio Valenzuela
Author

Got it! So now ip:8069 loads to the website directly.

Damon

cool! so it sounds like you've already got a webserver installed like apache or nginx. From there you can look at the proxy info setup to get requests from port 80 directed to your 8069 Odoo installation. This looks promising if using Apache https://opensourceholic.com/2014/05/09/deploy-openerp-using-mod_proxy-and-mod_wsgi-on-linux-server/

Damon

and for the psql that errored on you, you'd likely have to 'sudo su odoo' to run that command. It'll just show you the postgres databases you have running. No biggie now :)

Avatar
Ermin Trevisan
Best Answer

The proper solution is not to redefine the xmlrpc port, but to use a proxy server. If you plan to deploy more than one database, use a proper dbfilter configuration. Google search shows you plenty of helpful documents when searching for odoo, dbfilter and proxy server.

0
Avatar
Discard
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
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