Here’s guide to installing ERPNext on a Ubuntu 22.04 bare bone server.
Adding Custom Domain
bench setup add-domain [desired-domain]
ERPNext – moving the working instance to another server:
Bench backup/restore works great!
sudo apt-add-repository -r ppa:certbot/certbot sudo apt update sudo apt-get update
Add Letsencrypt to custom domain
sudo -H bench setup lets-encrypt [site-name] --custom-domain [custom-domain]