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:
Open the database manager.
Click the database name and select Domain Names.
Suchen Sie nach dem gewünschten Domainnamen und prüfen Sie die Verfügbarkeit.
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.netwill 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.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:
Open the database manager.
Click the database name and select Domain Names.
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
wwwsubdomain 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:
Open the database manager.
Click the database name and select Domain Names.
Click DNS.
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.).
Click Add record.
Bemerkung
To use a subdomain’s address for your Odoo website, it is necessary to:
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:
Open the database manager.
Click the database name and select Domain Names.
Click DNS.
Click Add DNS record and select MX.
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¶
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).
Wählen Sie
gandi.netals Domain host (Domain-Host) und klicken Sie auf Continue. (Weiter).
Kopieren Sie den Inhalt des Feldes Value (Wert) unter TXT record (TXT-Eintrag). Lassen Sie das Fenster geöffnet.
Add a TXT record.
Open the database manager.
Click the database name and select Domain Names.
Click DNS.
Click Add DNS record and select TXT.
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).
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¶
Open the database manager.
Click the database name and select Domain Names.
Click DNS.
Click Add DNS record and select MX.
Geben Sie
@in das Feld Name,1in das Feld Priority (Priorität),smtp.google.comin das Feld Content (Inhalt) und klicken Sie auf Add record (Eintrag hinzufügen).
Ö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:
If you are transferring your website, set up URL redirections before transferring the domain name to preserve the website’s SEO.
Redirect your naked domain name (this step is optional but recommended).
Bemerkung
If you are using Cloudflare, follow these instructions to add a CNAME record and secure and redirect a naked domain.
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 Zieladresse des CNAME-Datensatzes sollte die Hauptadresse des Projekts sein, die Sie auf Odoo.sh unter finden, oder ein bestimmter Zweig (Produktion, Staging oder Entwicklung), indem Sie unter gehen und auf Wie richte ich meine Domain ein? klicken. Eine Meldung gibt an, auf welche Adresse Ihr CNAME-Datensatz abzielen sollte.
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.comzuhttps://www.ihredomain.comundvon
https://ihredomain.comzuhttps://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¶
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.
Wählen Sie einen Tarif aus (der kostenlose Tarif reicht).
Folgen Sie den Anweisungen und Empfehlungen von Cloudflare, um die Aktivierung abzuschließen.
Fügen Sie einen CNAME-Datensatz hinzu, um Ihre nackte Domain (
ihredomain.com) auf diewww-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
@(oryourdomain.com).Target: enter
www.+yourdomain.com, e.g.,www.yourdomain.com.Proxy status: toggle the option on (Proxied).
Klicken Sie auf Speichern.
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.comProxy status: toggle the option off (DNS only).
Klicken Sie auf Speichern.
Define a redirect rule to permanently redirect (301) your naked domain (e.g.,
yourdomain.com) to bothhttp://andhttps://by going to . 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), replacingyourdomain.comwith your domain name.Status code: select
301.Preserve query string: enable the option by ticking the box.
Click Deploy.
Go to and ensure the encryption mode is set to Full.
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.
Open the database manager.
Click the database name and select Domain Names.
Click Use my own domain.
Enter the domain name (e.g.,
www.yourdomain.com), click Verify, then I confirm, it’s done.
Gehen Sie auf Odoo.sh zu , geben Sie den hinzuzufügenden Domainnamen ein und klicken Sie dann auf Domain hinzufügen.
Siehe auch
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 ,
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 , 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 . 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:
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).