How do I setup 80 redirection on all the sites with different sub-domains, so I do not have port number trailing the site? Currently I have abs.dexciss.com:81, xyz.dexciss.com:82, etc.
I followed this too but maybe I am missing something. I also want to tell you that there is another service that is listening to port 80 which is Odoo. Is that an issue. Because now all my sites are down… Pls help
Is it necessary to setup lets-encrypt ? What is the reason.
I am experimenting with ErpNext and when i setup multiple tenants, it doesnt work.
If I set current site in currensite.txt then only that particular site will work.
I havent setup ssl because I dint need it at this point of time.
Is this step absolutely necessary or is optional ?
Setting up SSL helps secure your site traffic if you open up your site to internet access.
If you are running on multi-tenant mode then you do not need to set any site in currentsite.txt as bench config dns_multitenant on will set up nginx to listen to the web address that is being queried and redirect to the correct site. For this to also work, you need to ensure that the site name corresponds to the domain name pointing to it or use the command bench add-domain to add the domain to the site. These configs help ensure Nginx is able to direct queries properly.
You can also search in this forum how to setup multitenant instances. There a multiple threads in the forum that give clear guides on how do achieve this.