DNS based multitenancy

I have setup a second site, how do I now navigate to the second site? I have tried /site2 with no success

By default DNS Multi-tenancy is enabled. You can still run the commands to make sure it’s enabled:

bench config dns_multitenant on
bench setup nginx

Do you have a production setup or a development setup?

For a development setup you’ll have to add your site-name into your /etc/hosts

For production setup, the domain you’ve pointed at the server should be the same as the site-name

1 Like

I have production setup localhost demo.erpnext.com apps.erpnext.com