LetsEncrypt not installing through error site not pointed

I am getting below error message whike trying to setup Lets Encrypt

It may take time depending upon the network. Unable to setup, Let’s Encrypt Please make sure that your site is pointed to the same server on which you are running Let’s Encrypt Client to allow it to verify the site automatically.

Both domain and www.domain should point to the same IP.