Domain hosted in Google doesn't connect with Odoo without "www" prefix

Hi,
Since a month I change my web page from wordpress in bluehost completely to Odoo website service included in the price of my ERP (Enterprise Resource Planning Software) but it was a nigthmare because if I try to enter directly from an ip that is "asigned" to my website (35.239.77.207) shows me a page from Odoo that's says Oops, soit.odoo.com does't exist. But if I enter from www.soit.com.pa it can enter normally.

When I try to enter with my domain from a browser this the message:

URL: soit.com.pa

Reason: Invalid name of certificate. Either the name is not on the allowed list, or was explicitly excluded. View certificate

My domain is: soit.com.pa

I ran this command: None for now

It produced this output: soit.com.pa is redirected to www.soit.com.pa also redirected to soit.odoo.com

My web server is (include version): Inside odoo.com (soit.odoo.com)

The operating system my web server runs on is (include version): I'm not secure, maybe in apache

My hosting provider, if applicable, is: I use Google Cloud DNS

I can login to a root shell on my machine (yes or no, or I don't know): just in Google Cloud DNS

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): Not available

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): Not aplicable

oodo.com doesn't know about your site: register your domain in their control panel

https://www.odoo.com/documentation/16.0/administration/maintain/domain_names.html

4 Likes

Hi,

Sorry for don´t include the information.

All the process of a register a own domain is already did it. I followe the process in this part:

" Map your domain name with your Odoo database

Odoo OnlineOdoo.sh

Open your database manager, click on the settings button next to your database, on Domain names, and then on Use my own domain at the bottom of the right column.

Type the domain name you want to add to this database, then click on Verify to check if the CNAME record is correctly configured. Once done, click on I confirm, it’s done.

""""Verification of the CNAME records of a domain name before mapping it with a database

Warning

Make sure to add a CNAME record to your domain name’s DNS before mapping your domain name with your Odoo database.

Failing to do so may impede the validation of the SSL certificate and would result in a certificate name mismatch error. This is often displayed by web browsers as a warning such as “Your connection is not private”.

If this is the case and you have added the domain name to your database’s settings less than five days ago, wait 24 hours as the validation may still happen. Otherwise, please submit a support ticket including screenshots of your CNAME records."""""

But I made the the redirection CNAME from www.soit.com.pa to a soit.odoo.com also did from soit.com.pa to a www.soit.com.pa but the certificate is not working well

The odoo docs say to use the CNAME to point to the odoo database

I have no experience with odoo but only your www domain has a CNAME and it points to your root domain name.

This really sounds like a question better directed to odoo support or their forum

4 Likes

Hi, thanks for you time,

They just says that, refer to this help page and do nothing, that's why I'm trying to do something about it because all my groups of ads in Google ads are blocked.

1 Like

add non www version into their dB as well. they will give default cert for any domain hit they don't know

4 Likes

Did you enter both names in Oodo?
[www.soit.com.pa, soit.com.pa]

Only "www" is secure:
SSL Server Test: www.soit.com.pa (Powered by Qualys SSL Labs)
SSL Server Test: soit.com.pa (Powered by Qualys SSL Labs)

3 Likes

You know you cannot put a CNAME in this zone, right?

According to their (Odoo) documentation you should set a redirect by yourself. This is bullshit, afaik.

3 Likes

Hi, thanks for the response.

Yes, I put a just domain name as my web page, also made a CNAME in google cloud from ww.soit.com.pa redirecting to a soit.odoo.com, and yes, as you said, only www is secure, but how can I put this security in just the naked domain to ACME or letsencrypt can accept the connection, but Odoo says that it is the problem.

DNS does not allow CNAME at the root domain level. It is not ACME or Let's Encrypt that is just how DNS works.

Maybe you need to change the IP address in the A record for soit.com.pa to point directly to the IP for soit.odoo.com ? I am just guessing

It is very strange that Odoo cannot explain how this should work

3 Likes

Odoo is not providing you with good answers/suggestions.
If they can do "naked" domains, then they need to explain to you "how".
OR
Just tell you that they can't.
[NOT blame unrelated things, nor ask you to do things that are not possible]

5 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.