1)install erpnext on fresh digital ocean ubuntu server
2) Connect domain name to that
3)then install ssl on that domain with auto renewal.
4) once domain is setup . Access via droplet IP will be disabled.
Preferably, you should go with the cloud hosting that ERPNext offers. However, your question seems very specific. The exact answer can be found on youtube. I don’t know if i am allowed to share links to it.
I have installed the erpnext and added domain also but when I add ssl as per frappe documentation then my nginx stops working and no ssl is visible sometime turning dns multitenat work but ssl is not visible .
here is error I get after adding ssl
Job for nginx.service failed because the control process exited with error code.
See “systemctl status nginx.service” and “journalctl -xe” for details.
I have installed the erpnext and added domain also but when I add ssl as per frappe documentation then my nginx stops working and no ssl is visible sometime turning dns multitenat work but ssl is not visible .
here is error I get after adding ssl
Job for nginx.service failed because the control process exited with error code.
See “systemctl status nginx.service” and “journalctl -xe” for details.
that usually happens when there error in nginx.conf.
This would most probably due to SSL certificate not installed correctly in the letsencrypt/live folder and nginx is unable to find the certificates. ( usually from improper bench install letsencrypt)
The best way out of this is to use the certbot method directly from letsencrypt website. Follow the process for your server type. restart nginx and you should be good to go.