Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Guest House
    • Drankenhandelaar
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Solar Energy Systems
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC Services
    Others
    • Nonprofit Organization
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Can We RUN 2 Websites in a Single Odoo Server for 2 Different Domain Names

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
domainapache2website_builder
7 Antwoorden
18953 Weergaven
Avatar
Abin CI

I am using Odoo 10

I have two website themes in Odoo. For example Theme 1 and Theme 2. 

I also have 2 domain names purchased from GoDaddy. For example www.abc.com and www.xyz.com.

I have a cloud space having an ip, for example 132.33.4.177

How can i run the two themes in the same Odoo server?

In GoDaddy we can point the ip to run the website, but here how can we use the same IP address for both themes.

I know we can configure in apache to run from different ports, and do domain forward from domain.

But i would like to know is there any other solution than domain forwarding for this.

1
Avatar
Annuleer
Avatar
Hilar Andikkadavath
Beste antwoord

You can buy this module from odoo apps which will fulfil your needs.

\https://apps.odoo.com/apps/modules/10.0/website_multi_company/

2
Avatar
Annuleer
Avatar
Ermin Trevisan
Beste antwoord

If you want to serve multiple domains with multiple databases, whereas each domain is connected to one particular database, it is best to run Odoo using the dbfilter option, see https://www.odoo.com/documentation/10.0/setup/deploy.html. If you want to serve multiple websites from one database, it is not officially supported and does not work flawlessly. Check the web for Odoo and Website multi or similar and you'll find plenty of content regarding this topic.

1
Avatar
Annuleer
Avatar
Surya Semesta
Beste antwoord

Yes you can do that in 2 database (if default odoo instalation without buy module multiple website)

1 odoo server

2 database

2 domain

You can setting with dbfilter

0
Avatar
Annuleer
Avatar
Kalmen Chia
Beste antwoord

Hi ,

you have to decide , like what the above advices given , 

1. to host it with each domain has it's own database on the same IP (recommended)

or

2. to host it with all domains on the same IP ( not commonly practice ) in ONE db, with this method,

i saw a few modules out there , some needs to pay , like this one , https://www.odoo.com/apps/modules/10.0/pr1_multi_website/ , not sure if this is what you are looking for ?

Thanks.

kalmen



0
Avatar
Annuleer
Avatar
Fatih Piristine
Beste antwoord

you can alter the domain part in ir_http to return correct urls. 

i have x-forward-proto for detecting http/https for proper url generation. 

def _get_root_url(trim=False):
"""
add X-Forwarded-Proto
:param trim:
:return:
"""

url_root = request.httprequest.url_root

if trim is True:
url_root = request.httprequest.url_root[:-1]

for k, v in request.httprequest.headers.items():
if k.lower() == 'x-forwarded-proto' and v.lower() == 'https':
url_root = re.sub(r'^http://', 'https://', url_root)
break

return url_root
0
Avatar
Annuleer
Avatar
Rafael Aguero Baquero
Beste antwoord

Always and always i suggest use other webserver like apache / nginx and as Imran said configure those.

0
Avatar
Annuleer
Avatar
Imran
Beste antwoord

You should use apache / nginx and configuration of your /etc/hosts file to direct traffic from www.abc.com to the correct instance of Odoo and same www.xyz.com


I am assuming the themes are at least for two separate DBs, i don't think its possible within the same Odoo DB.  We have done similar multiple DBs on same host server, but you can also run multiple Odoo Servers with different ports on same server


0
Avatar
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Connect my domain Opgelost
domain website_builder
Avatar
Avatar
Avatar
2
mei 23
11569
How to publish the website I have just created into my own domain?
domain website_builder
Avatar
0
jun. 17
6775
How do i point my domain to the right odoo folder in digital oceans
domain apache2 ubuntu18
Avatar
0
feb. 20
94
website name
webclient domain helpdesk website_builder
Avatar
Avatar
1
jul. 22
2968
AssertionError while install Appoinment in website
website_builder
Avatar
Avatar
Avatar
2
nov. 25
105
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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