Steps to create new site - ashish-greycube/help GitHub Wiki
[1] create A record https://my.bluehost.com/hosting/app#/domains/manage/etqansoft.com/dns ploto.etqansoft.com 144.91.73.131
[2] create site
bench new-site ploto.etqansoft.com --db-name ploto13 --admin-password XXX --install-app erpnext
bench --site ploto.etqansoft.com install-app limit
bench --site ploto.etqansoft.com enable-scheduler
[3] Run below commands in frappe-bench to create backup of original nginx.conf file to nginx.conf_aug_5 in same directory.
cd config
cp nginx.conf nginx.conf_aug_5 -----[aug_5 is current month and date]
cd ..
[4] In frappe-bench, run below command to check weather site name points to ip address or not
ping ploto.etqansoft.com
[5] create SSL: link
sudo service nginx stop
sudo certbot certonly --standalone
ploto.etqansoft.com
Certificate is saved at: Key is saved at:
"ssl_certificate":"/etc/letsencrypt/live/ploto.etqansoft.com/fullchain.pem", "ssl_certificate_key":"/etc/letsencrypt/live/ploto.etqansoft.com/privkey.pem"
nano sites/ploto.etqansoft.com/site_config.json
bench setup nginx
check in browser https://ploto.etqansoft.com/#login
[6]entry on our site