ERPNext One instance (backend) for two companies

**Hi **
I have two companies and i want to split them on erpnext use two different domains but control them from the same backend ex server1.com control company1.com company2,com from one backend is this possible to do with erpnext

thanks

Hi @megaman1

When on your bench use can use bench --site {SITE_NAME} add-domain --help for information about the command.

Basically, it aliases the specified domain to that site. So any number of domains added via add-domain can point to one site. Just know you will have to rebuild your NGINX config after adding the domain.

1 Like

It is possible via multi-tenancy.

Refer these:

  1. Setup Multitenancy
  2. Multi Bench Setup with DNS based multitenancy at Production Server. How To?
  3. DNS based multi-tenancy: Getting started
2 Likes

Thanks @dj12djdjs @anupd How can i make it like example.erpnext.com demo apps can create more than app from backend without using bench or CLI make it . create a new separate app same like erpnext.com demos can be created more than instance on its sub-domain i hope you can help