I successfully deployed a website on my Raspberry PI 2 (you can check it: http://tritham.myvnc.com). The domain name and dns service is provided freely by NOIP.COM. Ports 80 and 443 are forwarded on my router. But I got an error, namely “No valid IP addresses found for tritham.myvnc.com” when I tried to configure HTTPS for the site using CERTBOT.
My domain is: tritham.myvnc.com
I ran this command: sudo certbot --authenticator webroot --installer apache
It produced this output:
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. tritham.myvnc.com (http-01): urn:acme:error:unknownHost :: The server could not resolve a domain name :: No valid IP addresses found for tritham.myvnc.com
The following errors were reported by the server:
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address.
My web server is (include version): Apache2
The operating system my web server runs on is (include version): Raspbian Stretch
My hosting provider, if applicable, is: on my own Rasberry PI
I can login to a root shell on my machine (yes or no, or I don’t know): Yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No