Launching the second ERPnext instance in Multitenacy

Hello Team, I follow this guide on port based multitenancy…Setup Multitenancy. I have created and named my second site as site3.local and assigned port 8181 to it. I am stuck at launching it.trying to use :8181 gives me a error in connection/site cannot be reached.How do I mak it work.

Regards
Samuel

more details please ,
try using
sudo bench setup production frappe

Hi Ahmad,
I would like to run erpnext on site3.local, how do i specify that I would like to run the command on that site only?

Steps I followed:
In frappe bench folder, i ran the following commands;

  • bench config dns_multitenant off
  • bench new-site site3.local
  • bench --site site3.local install-app erpnext
  • bench set-nginx-port site3.local 8181
  • bench setup nginx
  • sudo service nginx reload

Trying to access the site via :8181 gives me site not found error.Is there a step that i left out or something that i did wrong.

Regards

Trying to access the site via myipaddress:8181 gives me site not found error.Is there a step that i left out or something that i did wrong.

Regards