بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ-
Create A hostname record in your domain
We should create A Hostname Record in your Domain Panel, for example of mine, i add a hostname record on Cloudflare
I use Ubuntu 16.04 to install Pihole and here the steps to install Letsencrypt into the box
root@at-taubah:~# apt-get install letsencrypt
After install Letsencrypt into the box, you can continue the steps below