While mapping SSL certificate with IP Address Nginx

when i ran this command-
sudo -H bench setup lets-encrypt [site-name]
i faced these error-
No site named xyz.com

Are these criteria met?
Pre-Requisites

  • You should have the bench installed
  • Private IP mapped with Domain

yes both are done
but still showing error

Have you checked that everything is correct as per
https://discuss.erpnext.com/t/setup-wildcard-certificate-with-bench/38272/3
and

I’m also not sure if you need to use sudo for bench commands?

@Nishank_Parashar Please check again in the sites directory. You must’ve done a typo while creating the site.

thanks you sir

thank u sir

Refer this link for your reference