I just set up Odoo for the first time and am going through a learning curve since coming from Magento.
I am on a Cloud Account and used the article explaining this on Odoo to setup
I have two domains; diy-cabinetdoors.com and diy-cd.com both on GoDaddy.com. I have purchased email on godaddy for diy-cd.com and have successfully setup the email server on Odoo.
My problem is that I cannot get the DNS records to work on Godaddy. I have gone through the instructions on Odoo but it still says "This site cannot be reached" when navigating to www.diy-cabinetdoors.com or www.diy-cd.com.
I added a CNAME record on Godaddy whos NAME is www.diy-cabinetdoors.com with a VALUE of diy-cabinet-doors.odoo.com TTL 1 Week. I added this 2 days ago and still have no access to my site via my GoDaddy domain.
I edited the Database on Odoo and Added www.diy-cabinetdoors.com and www.diy-cd.com
What am I missing?
Below is a copy of my DNS Record for DIY-Cabinetdoors.com on GoDaddy
CNAME | www.diy-cabinetdoors.com | diy-cabinet-doors.odoo.com | 1 Week | Edit |
CNAME | _domainconnect | _domainconnect.gd.domaincontrol.com | 1 Hour | Edit |
NS | @ | ns59.domaincontrol.com | 1 Hour | |
NS | @ | ns60.domaincontrol.com | 1 Hour | |
SOA | @ | Primary nameserver: ns59.domaincontrol.com. | 1 Hour |
Just to let you know.
My customer had an old website with wordpress linked to his domain name.
I spent 2 hours with Godaddy support and what I had to do is to create an A records configuration line link to the ip address of the odoo database.
With cmd.exe type-> nslookup "mywebsite".odoo.com
name: mywebsite.odoo.com
address: 34.123.115.36
So my config looks like on godaddy:
Type - Name - Value - TTL (Time to Live)
A @ 34.123.115.36 1 hour
CNAME www @ 1 hour
CNAME www.mydomain.com mywebsite.odoo.com 1 hour
And it's working for me. Hope that will help someone else.
"In a proper environment, you should setup a reverse proxy, preferably on a separate server in front of Odoo."
How should I do this?
@philippe couture, thanks for your answer. I can't upvote it so mentioning it here.