I have been trying to set up app ERPNext in a VPS (Ubuntu 20.04). I have followed different step by step guides and managed to install a working production environment for ERPNext. But I have different requirements.
I plan to host a few domains on the same VPS server (my concern is not space or server capacity).
So, I need to set up wordpress in example.com and erpnext in erp1, erp2, erp3 subdomains.
I need erpnext in example1.com.
I need normal php websites in 3rd domain.
I am comfortable with running commands in Ubuntu 20.04.
- How can I achieve the desired result ?
- Do I need to create different databases and different mysql user for different erpnext instances in same domain and also on different domain ?
- Is it possible to install bench in directory other than /home/user/frappe-bench; for example inside /var/www/site1/html ?
- What is the difference of creating a new erpnext production instance by bench new-site and creating a complete different branch for production ?
I am looking for some detailed instructions to answer all my questions.