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

Newsletter Updates

Enter your email address below to subscribe to my newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *