Hi there,
I’m running ERPNext v8.54 with Frappe v8.57 on a self-hosted Ubuntu Linux 16.04.2 LTS virtual machine.
I’m trying to change site1.local to instead say erp.domain.com, where domain.com is my domain. Based on the manual and also what I’ve read online, this change needs to be made to the
/home/frappe/frappe-bench/sites/site1.local/site_config.json file by using the following command:
bench setup add-domain --site site1.local erp.domain.com
and then
/etc/init.d/nginx restart
… which I did, but the emailed links still have site1.local in them. I even tried rebooting the entire Ubuntu Linux VM, which did not resolve the issue. Based on past versions of ERPNext, I see that this change should take place in
/home/frappe/frappe-bench/sites/site1.local/site_config.json
… which when I look at it:
root@myserver:/home/frappe/frappe-bench/sites/site1.local# less site_config.json
Looks like this:
{ "db_name": "{random_dbname}", "db_password": "{random_dbpass}", "domains": [ "erp.domain.com" ], "encryption_key": "{encryption key}", "limits": { "space_usage": { "backup_size": 1.0, "database_size": 14.24, "files_size": 23.0, "total": 38.24 } } }
Am I missing a step somewhere?
Thanks, in advance!