How to change the Domain alias in Odoo?
Completing the Odoo Reverse Proxy Setup
I have completed the reverse proxy setup for my Odoo site using the Traefik application, and everything related to website traffic is working as expected without any issues. However, the system-generated emails are not working for the public site.
I have done some research on this and found in some posts mentioning that we need to set up the "alias domain" value under the "Settings > General Settings > External Email Servers > Alias Domain" setting.
I have noticed that setting the above configuration has no impact on the system behavior in sending emails. I still see emails sent out with internal hostname alias, as shown below.
The below setting can quickly fix the hostname corruption issue by changing the "web.base_url" system parameter under the Technical system property settings, which you can modify by following the below directions.
Email generated after changing the base URL looks good with the right public domain.
Note: If you have trouble seeing the "System Properties" menu, then make sure to activate Developer tools under the "Settings > General Settings" menu.