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: