Enable Multi-tenant on ERPNext
cd /home/frappe/frappe-bench/ sudo bench config dns_multitenant on sudo bench setup add-domain --site site1.local [my.newsite.name] sudo bench new-site site2name sudo bench --site site2name enable-scheduler sudo bench --site [sitename] install-app erpnext sudo bench setup nginx sudo service nginx reload Source: https://discuss.erpnext.com/t/multitenant-production-server-setup/53961