Adding antoher site on Ubuntu 20+ 21+ ERPNext 13+ ( Multi-tenant )
Continuation of our last blogs about installing ERPNext on Ubuntu ( Ubuntu 20 or 21 and above. Tested on 20.10 and 21.04 )
This blog is a continuation of the following
https://erpgulf.com/blog/support-forum/installing-erpnext-version-13-beta-on-ubuntu-2010-20
https://erpgulf.com/blog/support-forum/letsencrypt-on-ubuntu-version-20-for-erpnext
Here we are adding another ERPNext site on the same installation.
First create second site on ERPNext folder
bench new-site site2.example.com
bench --site site1.local install-app erpnext
Create letsencrypt SSL cerficate for the second site
sudo certbot certonly -a nginx -d site2.erpgulf.com
Then configure nginx
cd /etc/nginx/conf.d
cp frappe-bench.conf site2.example.com.conf
vim site2.example.com
comment the following lines
#upstream frappe-bench-frappe {
# server 127.0.0.1:8000 fail_timeout=0;
#}
#upstream frappe-bench-socketio-server {
# server 127.0.0.1:9000 fail_timeout=0;
#}
Change listening TCP port if required
listen 4423 ssl;
and change the first site name to the second where ever in that configuration file.
Restart supervisor and nginx
service supervisor restart
service nginx restart
This should work. For any clarification send email to support@ERPGulf.com
Cloud support
Cloud support team provides hosting related support and technology updates. Cover technology like cloud printing, Cloud PBAX, VoIP, Kubernetes, Ubuntu, Linux etc. Contact us on support@ERPGulf.com
No comments yet. Start a new discussion.