u/Hyrbowdz

▲ 1 r/Odoo

Hi everyone,

I’m having trouble finalizing my domain configuration with my Odoo instance.

My setup:

  • DNS Provider: cPanel (External).
  • Odoo Version: [Specify: Online or Odoo.sh].
  • Current Status: The [www.mydomain.com](https://www.mydomain.com) subdomain is correctly linked via a CNAME record and the website works perfectly.

The problem: The "naked domain" (without www, e.g., mydomain.com) does not point to Odoo. Instead, it redirects to my cPanel host's default landing page.

This is causing two main issues:

  1. Users who don't type "www" cannot access my site.
  2. It's negatively affecting my SEO due to inconsistent indexing on Google.

My question: What is the best practice to redirect the naked domain to the www version in this setup? Should I handle the 301 redirection directly in cPanel, or is there a specific setting within Odoo (or Odoo.sh) to force the www redirection and handle the SSL correctly?

Thanks in advance for your help!

reddit.com
u/Hyrbowdz — 14 days ago