seitime-frappe/frappe/docs/user/guides/deployment/how-to-change-host-name-from-localhost.md
2015-10-30 16:40:39 +05:30

584 B

While using a virtual machine, links within emails will be point to your host, e.g. localhost, like http://localhost/set-password etc.

Frappe will automatically extract the host name from the incoming request, or from the host_name property from site_config.

bench set-config

To fix this, you can use bench set-config to set your public IP or domain name as the host name.

Example:

bench --site mysite.com set-config host_name mysite.com

Or edit the frappe-bench/sites/mysite.com/site_config.json and add a host_name property.