DNS Multitenant on Frappe bench

DNS Multitenant on Frappe bench

Here is the process I use when setting up Multi-Tenant DNS on frappe bench
`

  1. bench config dns_multitenant on

  2. bench new-site library.dev

  3. bench setup nginx

  4. sudo service nginx reload

  5. bench --site library.dev install-app library-management

  6. Repeat steps 2 - 5 for every other site you wish to create

  7. To access the sites you will then use http://library.dev:8000, http://library1.dev:8000 and so forth

  8. Reboot bench server bench restart