Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Website configuration

Subscriure's

Get notified when there's activity on this post

This question has been flagged
6 Respostes
9539 Vistes
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
Descartar
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
Descartar
Marcio Valenzuela
Autor

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
Autor

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
Autor

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
Autor

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
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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