Skip to Content
Menu
This question has been flagged
2 Replies
3934 Views

I am currently on Odoo 16 Online Enterprise edition


My Domain Registrar: Hostinger

Nameservers maintained of Hostinger 

Changed CNAME records and pointed www to odoo database url as documented


Now only www\.reliablemotortrainingschool\.com

is\ getting\ redirected\ to\ my\ odoo\ database\ website\ app

But\ naked\ domain\ reliablemotortrainingschool.com is not getting redirected to my odoo database website app


Can someone please guide how to make this work as this seems to be general issue which might be faced by main new subscribers of Odoo but there is not detailed documentation in Odoo 16 Online 


Some things I tried to solve but didn't work:

1. Redirect/Forward url - temporary 302 or permanent 301 in Hostinger : this didn't worked as Hostinger DNS is not allowing to redirect to own domain. And if I enter odoo databse url - my URL bar changes to odoodatabase for all users which I don't want. 

2. Saw someone informed to use Cloudflare or NGINX to redirect. So tried to change nameservers to Cloudflare to use their Nameservers and added forwarding URL in page rule along with maintaining A records in DNS. But this is not working or I may have not configured Cloudflare properly.

Avatar
Discard
Best Answer

Hello,

Kindly follow below steps for solution:

  1. Set Up a CNAME Record:
    • In your domain manager, create a CNAME record for www.yourdomain.com pointing to yourdomain.odoo.com. This ensures your website loads with the "www" subdomain.

  2. Redirect the Naked Domain:
    • If you want users to access your website using just yourdomain.com (naked domain), configure a redirect in your domain manager to send traffic to www.yourdomain.com.

  3. Automatic SSL with Let's Encrypt:
    • Once the redirect (if applicable) is set up correctly, Odoo will automatically generate a free SSL certificate with Let's Encrypt within an hour. This secures your website with HTTPS.

Note: Currently, Odoo.sh doesn't allow using custom SSL certificates.

Thanks & Regards,


CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209

Email: info@candidroot.com

Avatar
Discard
Related Posts Replies Views Activity
0
Jul 21
2401
0
Sep 23
811
1
Jan 25
348
1
Apr 24
1372
1
Nov 22
3690