Skip to Content
Menu
This question has been flagged
4 Replies
10739 Views

Hello all!


I have installed odoo 13 on my pc (windows 10 Pro 64bit) and hopefully most of it are going pretty well!


I also have a domain name registered on godaddy. So I am thinking how to add my domain name to the local installed odoo? 


I tried to send out invoice email from odoo. It works! But the button link is like this [http://localhost:8069/mail/view?model=account.move&res_id............~~~~998ce3c]


Some jobs are done, like point my domain to my network IP address, set the port forwarding. But there should be some configuration in odoo itself, right? 


Could any person please instruct me how to or where to look at those settings? 


Regards from Aldo    

Avatar
Discard
Best Answer

Hi Aldo,

Your PC will need to be on the internet with a static IP address that is reachable over the net for this to work.


EDIT:

You will need to configure the DNS server on GoDaddy to point to your PC's static IP address. The following link provides instructions from GoDaddy on how to set up the DNS records. Refer to the Nameservers and DNS section for the details.

https://www.godaddy.com/help/domains-1000003#nav-7


This blog article, though dated, will also be useful in understanding how things come together:

https://www.godaddy.com/garage/configuring-and-working-with-domains-dns/

Avatar
Discard
Author Best Answer

Thanks! The DNS record has been changed and I can see it is became valid. 

However, the email sent out from odoo is still using localhost in the link. e.g. I sent out an email with invoice, in that email body, odoo generated a button to allow reader to download/view the invoice instead of attachment. 

In my case, the attachment works fine but the hyperlink from that button is with localhost still. 

Should I look into the odoo settings/configurations to change something?


Cheers!

Avatar
Discard

I have edited my earlier reply and added more details.

You will need an external SMTP or IMAP server to handle the sending and receiving of emails. You can configure Odoo to send/receive email through an external server. You will find the details here:

https://www.odoo.com/documentation/user/13.0/discuss/email_servers.html#scope-of-this-documentation

Author

Thanks a lot!!

External email servers have been setup and sending out email works fine.

Since I am having Odoo 13 running on my local pc, how do I tell the program/database which domain it is running on? At this moment, it always use localhost. Even for the email sent out, the hyperlinks are using localhost instead the domain I have.

Go to Settings > Technical > System Parameters and update the value of the "web.base.url" parameter to your url with the domain name.

Author

Cool! appreciate!

Best Answer

Hi. Put in on an internter server, you can use any provider like AWS or digitaocean to do so.

Avatar
Discard
Related Posts Replies Views Activity
1
Dec 16
6542
0
Oct 20
3882
0
Nov 24
87
0
Mar 24
279
2
Mar 24
574