Domainnamen

Domain names serve as easily recognizable labels for online locations such as websites, translating difficult-to-remember numerical IP addresses into readable, memorable web addresses.

Odoo Online and Odoo.sh databases use a subdomain of the odoo.com domain by default (e.g., mycompany.odoo.com).

However, you can register a free domain name on Odoo Online or use a domain name you own.

Register a free domain name

To register a one-year free domain name for an Odoo Online database:

  1. Open the database manager.

  2. Click the database name and select Domain Names.

  3. Suchen Sie nach dem gewünschten Domainnamen und prüfen Sie die Verfügbarkeit.

  4. Select the desired domain name, fill in the Domain Owner form, and click Register. The domain name is directly linked to the database.

    Wichtig

    A verification email from noreply@domainnameverification.net will be sent to the email address provided. Verifying the email address is necessary to keep the domain active and receive the renewal quote before expiration.

  5. Finally, map the domain name to your Odoo website.

Allgemeine Geschäftsbedingungen

The domain name registration is free for the first year. After this period, Odoo will continue to manage the domain in partnership with Gandi.net, the domain name registrar, and you will be charged Gandi.net’s renewal rate. Odoo sends a renewal quotation every year to the email address specified in the Domain Owner form several weeks before the domain’s expiration date. The domain is renewed automatically when the quotation is confirmed.

  • Das Angebot ist nur für Odoo-Online-Datenbanken verfügbar.

  • The offer is limited to one domain name per client.

  • The offer is limited to the registration of a new domain name.

  • The offer is available to One App Free plans. Ensure your website contains sufficient original content for Odoo to verify that your request is legitimate and in compliance with Odoo’s Acceptable Use Policy. Given the high number of requests, it can take Odoo several days to review them.

DNS-Datensätze

To manage a free domain name’s DNS records:

  1. Open the database manager.

  2. Click the database name and select Domain Names.

  3. Click DNS.

Tipp

  • A: Der A-Datensatz enthält die IP-Adresse der Domain. Er wird automatisch erstellt und kann nicht bearbeitet oder gelöscht werden.

  • CNAME: CNAME records forward one domain or subdomain to another domain. One is automatically created to map the www subdomain to the database. If the database is renamed, the CNAME record must be updated accordingly.

  • MX: MX-Datensätze weisen Server an, wohin die E-Mails gesendet werden.

  • TXT: TXT records can be used for various purposes (e.g., verifying domain name ownership).

Jede Änderung an den DNS-Datensätze kann bis zu 72 Stunden dauern, um weltweit auf allen Servern verabeitet zu werden.

Subdomains

Adding a subdomain label to a free domain name (e.g., subdomain.yourdomain.com) allows creating multiple websites or creating database records from emails received on an alias (e.g., email@subdomain.yourdomain.com).

To create a subdomain, add a CNAME record:

  1. Open the database manager.

  2. Click the database name and select Domain Names.

  3. Click DNS.

  4. Click Add DNS record and select CNAME.

    • Name: enter the desired subdomain label (e.g., subdomain).

    • Content: enter original database domain with a period at the end (e.g., mycompany.odoo.com.).

  5. Click Add record.

Bemerkung

To use a subdomain’s address for your Odoo website, it is necessary to:

  1. Map the subdomain to your Odoo database.

  2. Map the subdomain to your Odoo website.

E-Mail-Postfach

The free domain name does not include a mailbox. However, there are two options for linking it to a mailbox.

Eine Subdomain verwenden

After creating a subdomain, go to the database and open the Settings app. Under the Alias Domain field, enter the subdomain (e.g., subdomain.yourdomain.com), click Create, and then Save.

Einen externen E-Mail-Anbieter verwenden

To use an external email provider, it is necessary to add an MX record:

  1. Open the database manager.

  2. Click the database name and select Domain Names.

  3. Click DNS.

  4. Click Add DNS record and select MX.

  5. Fill in the Name, Content, and Priority fields according to the external email provider.

Google Workspace

To use a free domain name with Gmail, register for Google Workspace.

Wählen Sie während des Registrierungsvorgangs die Option Set up using your existing domain (Mit Ihrer bestehenden Domain einrichten), wenn Sie aufgefordert werden, eine Methode zum Einrichten Ihres Kontos auszuwählen ( Choose a way to set up your account) und geben Sie Ihre Domain (z. B. IhreDomain.com) ein, wenn Sie gefragt werden: What’s your business’s domain name? (Wie lautet der Domainname Ihres Unternehmens?).

Verifizierung der Eigentümerschaft der Domain
  1. Melden Sie sich bei Google Workspace an. Wenn Sie aufgefordert werden, den Besitz Ihrer Domain zu bestätigen, klicken Sie auf Switch to manual verification (Zur manuellen Überprüfung wechseln).

    Umstellung auf manuelle Domain-Überprüfung in Google Workspace
  2. Wählen Sie gandi.net als Domain host (Domain-Host) und klicken Sie auf Continue. (Weiter).

    Wahl des Domain-Hosts auf Google Workspace
  3. Kopieren Sie den Inhalt des Feldes Value (Wert) unter TXT record (TXT-Eintrag). Lassen Sie das Fenster geöffnet.

    Kopieren des TXT-Wert auf Google Workspace
  4. Add a TXT record.

    1. Open the database manager.

    2. Click the database name and select Domain Names.

    3. Click DNS.

    4. Click Add DNS record and select TXT.

    5. Geben Sie @ in das Feld Name ein, fügen Sie den von Google bereitgestellten Value (Wert) in das Feld Content (Inhalt) ein und klicken Sie auf Add record (Eintrag hinzufügen).

    Erstellung eines TXT-Datensatzes zur Verifizierung des Besitzes des Domainnamens
  5. Kehren Sie zu Google Workspace zurück, aktivieren Sie das Kontrollkästchen unten und klicken Sie auf Confirm (Bestätigen).

E-Mails an Gmail umleiten
  1. Open the database manager.

  2. Click the database name and select Domain Names.

  3. Click DNS.

  4. Click Add DNS record and select MX.

  5. Geben Sie @ in das Feld Name, 1 in das Feld Priority (Priorität), smtp.google.com in das Feld Content (Inhalt) und klicken Sie auf Add record (Eintrag hinzufügen).

    Erstellung eines MX-Datensatzes zur Umleitung an Gmail
  6. Öffnen Sie die Google Workspace-Admin-Konsole, klicken Sie für Ihre Domain auf Activate Gmail (Gmail aktivieren) und befolgen Sie die Schritte.

Einen bestehenden Domainnamen konfigurieren

If you already own a domain name, you can use it for your Odoo website.

Warnung

To avoid potential SSL certificate validation issues, it is strongly recommended to follow these steps in the specified order:

  1. If you are transferring your website, set up URL redirections before transferring the domain name to preserve the website’s SEO.

  2. Add a CNAME record.

  3. Redirect your naked domain name (this step is optional but recommended).

  4. Map your domain name to your Odoo database.

  5. Map your domain name to your Odoo website.

Einen CNAME-Datensatz hinzufügen

Sie müssen einen CNAME-Datensatz hinzufügen, um Ihren Domainnamen an die Adresse Ihrer Odoo-Datenbank weiterzuleiten.

Die Zieladresse des CNAME-Datensatzes sollte die Adresse Ihrer Datenbank sein, wie sie bei der Erstellung definiert wurde (z. B. meinunternehmen.odoo.com).

Die genauen Anweisungen hängen von Ihrem DNS-Hostingdienst ab.

Eine nackte Domain weiterleiten

Bemerkung

Dieser Schritt ist optional, aber empfohlen.

Damit Besucher Ihren nackten Domainnamen (einen Domainnamen ohne Subdomains oder Präfixe) (IhreDomain.com) verwenden können, müssen Sie eine 301-Weiterleitung (eine permanente Weiterleitung von einer URL zu einer anderen) zu www.ihredomain.com einrichten:

  • von http://ihredomain.com zu https://www.ihredomain.com und

  • von https://ihredomain.com zu https://www.ihredomain.com.

The specific instructions depend on your DNS hosting service. However, not all of them offer to redirect a naked domain to HTTPS. If you encounter any issues, we recommend using Cloudflare.

Verwendung von Cloudflare zur Sicherung und Umleitung einer nackten Domain

  1. Bei Cloudflare registrieren und anmelden.

  2. Geben Sie Ihren Domainnamen in das Dashboard von Cloudflare ein und wählen Sie Quick scan for DNS records (Schnellscan für DNS-Datensätze) aus.

  3. Wählen Sie einen Tarif aus (der kostenlose Tarif reicht).

  4. Folgen Sie den Anweisungen und Empfehlungen von Cloudflare, um die Aktivierung abzuschließen.

  5. Fügen Sie einen CNAME-Datensatz hinzu, um Ihre nackte Domain (ihredomain.com) auf die www-Subdomain (z. B. www.ihredomain.com) umzuleiten, indem Sie im Navigationsmenü auf DNS und dann auf die Schaltfläche Add record (Datensatz hinzufügen) klicken und die folgende Konfiguration verwenden:

    • Type: select CNAME.

    • Name: enter @ (or yourdomain.com).

    • Target: enter www. + yourdomain.com, e.g., www.yourdomain.com.

    • Proxy status: toggle the option on (Proxied).

    • Klicken Sie auf Speichern.

    Hinzufügen eines CNAME-DNS-Datensatzes zu Cloudflare, um eine nackte Domain auf eine www-Subdomain umzuleiten
  6. Fügen Sie einen weiteren zweiten CNAME-Datensatz hinzu, um die Subdomain www (z. B. www.ihredomain.com) mithilfe der folgenden Konfiguration an Ihre Datenbankadresse (z. B. ihrunternehmen.odoo.com) umzuleiten:

    • Type: select CNAME.

    • Name: enter www. followed by your domain name, e.g., www.yourdomain.com.

    • Target: enter your database’s address as defined at its creation e.g., mycompany.odoo.com

    • Proxy status: toggle the option off (DNS only).

    • Klicken Sie auf Speichern.

    Hinzufügen eines CNAME-DNS-Datensatzes zu Cloudflare, um eine www-Subdomain auf eine Odoo-Datenbank umzuleiten
  7. Define a redirect rule to permanently redirect (301) your naked domain (e.g., yourdomain.com) to both http:// and https:// by going to Rules ‣ Overview ‣ Create rule ‣ Redirect Rule. On that page:

    • Geben Sie einen Rule name (Regelnamen) ein.

    • Wählen Sie im Abschnitt If incoming requests match… (Wenn eingehende Anfragen übereinstimmen …) die Option Custom filter expression (Benutzerdefinierter Filterausdruck) aus und verwenden Sie die folgende Konfiguration:

      • Field: select Hostname.

      • Operator: select equals.

      • Value: enter your domain name, e.g., yourdomain.com.

    • Verwenden Sie im Abschnitt Then… (Dann …) die folgenden Einstellungen aus:

      • Type: select Dynamic.

      • Expression: enter the following expression concat("https://www.yourdomain.com", http.request.uri.path), replacing yourdomain.com with your domain name.

      • Status code: select 301.

      • Preserve query string: enable the option by ticking the box.

    • Click Deploy.

    Definieren einer Cloudflare-Umleitungsregel, um eine permanente Umleitung (301) zu erstellen
  8. Go to SSL/TLS ‣ Overview ‣ Configure and ensure the encryption mode is set to Full.

    Einrichtung des Verschlüsselungsmodus auf „Vollständig“ in Cloudflare.

Einen Domainnamen einer Odoo-Datenbank zuordnen

Warnung

Ensure you have added a CNAME record to your domain name’s DNS before mapping your domain name to your Odoo database.

Failing to do so may prevent the SSL certificate from being validated and could result in a certificate name mismatch error. Web browsers often display this as a warning, such as „Your connection is not private“.

If you encounter this error after mapping the domain name to your database, wait up to five days, as the validation may still be in progress. If not, you can submit a support ticket, including screenshots of your CNAME records.

  1. Open the database manager.

  2. Click the database name and select Domain Names.

  3. Click Use my own domain.

  4. Enter the domain name (e.g., www.yourdomain.com), click Verify, then I confirm, it’s done.

Zuordnung eines Domainnamens ui einer Odoo-Online-Datenbank

SSL-Verschlüsselung (HTTPS-Protokoll)

SSL encryption allows visitors to navigate a website over a secure connection, indicated by the https:// protocol at the beginning of a web address rather than the non-secure http:// protocol.

Odoo generates a separate SSL certificate for each domain mapped to a database using Let’s Encrypt’s certificate authority and ACME protocol.

Bemerkung

  • Die Erstellung des Zertifikats kann bis zu 24 Stunden dauern.

  • Several attempts to validate your certificate are made over the next five days after you map your domain name to your database.

  • Wenn Sie einen anderen Dienst verwenden, können Sie diesen weiter nutzen oder einfach zu Odoos Dienst wechseln.

Wichtig

Für nackte Domains (Domainnamen ohne Subdomains oder Präfixe) wird kein SSL-Zertifikat erstellt.

Webbasierte URL einer Datenbank

Bemerkung

If the Website app is installed on your database, skip this section and continue from the Map a domain name to an Odoo website section.

Die webbasierte URL oder Stamm-URL einer Datenbank wirkt sich auf Ihre Haupt-Website-Adresse und alle Links aus, die an Ihre Kunden gesendet werden (z. B. Angebote, Portallinks usw.).

Um Ihren benutzerdefinierten Domainnamen zur webbasierten URL Ihrer Datenbank zu machen, greifen Sie auf Ihre Datenbank mit Ihrem benutzerdefinierten Domainnamen zu und melden Sie sich als Administrator (ein Benutzer, der zur Gruppe der Zugriffsrechte für Einstellungen unter Administration gehört) an.

Wichtig

If you access your database using the original Odoo address (e.g., mycompany.odoo.com), the database’s web base URL will be updated accordingly. To prevent the automatic update of the web base URL when an administrator logs in to the database, activate the developer mode, go to Settings ‣ Technical ‣ System Parameters ‣ New, and enter web.base.url.freeze as the Key and True as the Value.

Bemerkung

You can also set the web base URL manually. To do so, activate the developer mode, go to Settings ‣ Technical ‣ System Parameters, and search for the web.base.url key (create it if necessary) and enter the full address of your website as the value (e.g., https://www.yourdomain.com). The URL must include the protocol https:// (or http://) and not end with a slash (/).

Einen Domainnamen einer Odoo-Datenbank zuordnen

Bemerkung

Die Zuordnung Ihres Domainnamens zu Ihrer Website ist nicht dasselbe wie die Zuordnung zu Ihrer Datenbank:

  • It defines your domain name as the main one for your website, helping search engines index it correctly.

  • It defines your domain name as the base URL for your database, including portal links sent to your customers via email.

  • Wenn Sie mehrere Websites haben, ordnet es Ihren Domainnamen der entsprechenden Website zu.

Go to Website ‣ Configuration ‣ Settings. If you have multiple websites, select the one you want to configure. In the Domain field, enter the URL of your website (e.g., https://www.yourdomain.com) and Save.

Warnung

Durch die Zuordnung Ihres Domainnamens zu Ihrer Odoo-Website wird verhindert, dass die Google-Suche Ihre ursprüngliche Datenbankadresse (z. B. meinunternehmen.odoo.com) indiziert.

If both addresses are already indexed, it may take some time for the indexation of the second address to be removed from Google Search. You can use the Google Search Console to fix the issue.

Subdomains

Adding a subdomain label to a domain name (e.g., subdomain.yourdomain.com) allows creating multiple websites with a single domain name. To do so:

  1. Add a CNAME record to forward your subdomain (e.g., subdomain.yourdomain.com) to the address of your Odoo database (e.g., mycompany.odoo.com).

  2. Map the subdomain to your Odoo database.

  3. Map the subdomain to your Odoo website.