A domain name works as an address for your website. It makes the Internet much more accessible as it allows users to type a meaningful web address, such as
www.odoo.com, rather than its server’s IP address with a series of numbers.
You can use a custom domain name to access your Odoo database and websites:
About domain names
Having a good domain name is as important to your branding as the name of your business or organization as it is the first thing your visitors will notice. We recommend you keep them simple, short, easy to remember and spell.
A subdomain is a domain that is a part of another domain. It often refers to the additional part that comes before the main domain name. Traditionally, most websites use the
www. subdomain, but any string of letters can be used as well. You can use subdomains to direct your visitors to other websites than your main website or to specific pages (e.g.,
experience.odoo.com points to a specific page.)
All domain names are referenced in the Domain Name System, or DNS, which works as a giant directory for the Internet. There are many DNS servers, so any modification to the DNS can take up to 72 hours to propagate worldwide on all servers.
Register a free domain name with Odoo
You can register a domain name for your Odoo Online database directly from Odoo Website or your database manager.
To do so, go to database manager, click on the settings button next to your database, then on Domain names.. Alternatively, open your
Search for the domain name of your choice to check its availability, then select the one you want to register for your website.
Next, fill in the form with your information to become the domain name owner.
Your domain name is directly linked to your database, but you still have to map your domain name with your website.
Manage your domain name registered with Odoo
To manage the DNS records of your domain name registered with Odoo or to visualize the contacts associated with it, open your database manager, click on the settings button next to your database, on Domain names, and then on Contacts or DNS.
Configure your existing domain name
If you already own a domain name, you can use it to point to your website.
To avoid any issue with the SSL certificate validation, we highly recommend that you proceed with the following actions in this order:
Add a CNAME record
A CNAME record is a type of DNS record that points to the IP address of another website rather than to directly to an IP address.
You need a CNAME record that points to your Odoo database. The requirements are detailed in your database manager.
Open your domain name’s manager dashboard.
Open the DNS zone management page for the domain name you want to configure.
Create a CNAME record pointing to the address of your database.
While Odoo suggests creating a CNAME record for your
www. subdomain (
www.example.com, you can of course use any domain name of your choice, with any subdomain (e.g.,
A naked domain is a domain name that doesn’t have any subdomain at the beginning of the address (e.g.,
odoo.com instead of
You may want your naked domain to redirect to your website as some visitors may not type the full domain name to access your website.
Open your domain name’s manager dashboard.
Create a redirection from the naked domain (
example.com) to your main domain name (
Map your domain name with your Odoo database
SSL encryption (HTTPS protocol)
SSL encryption is an encryption-based Internet security protocol. It allows your visitors to navigate your website through a secure connection, which appears as an
https:// protocol at the beginning of your web address, rather than a non-secure
Odoo generates a separate SSL certificate for each domain mapped in the database manager, using integration with Let’s Encrypt Certificate Authority and ACME protocol.
Web base URL of a database
The web base URL of a database, or root URL affects your main website address and all the links sent to your customers (e.g., quotations, portal links, etc.).
To configure it, access your Odoo database with your custom address, then log in as an administrator of your database (any user in the Settings group) from the login screen.
Alternatively, you can do it manually. To do so, activate the developer mode, then go to .
Find the key called
web.base.url (or create it if it does not exist) and enter the full address of your website as value, such as
To prevent the automatic update of the web base URL when an administrator logs in the database, you can create the following System Parameter:
Map your domain name with your website
Mapping your domain name to your website isn’t the same as mapping it with your database:
It defines your domain name as the main one for your website, helping search engines to index your website properly.
It defines your domain name as the base URL for your database, including the portal links sent by email to your customers.
If you have multiple websites, it maps your domain name with the appropriate website.
Go to. If you have multiple websites, select the one you want to configure.
In the Domain field, fill in the web address of your website (e.g.,
https://www.example.com) and click on Save.