root@test-live:/etc/apache2/conf-available# certbot --apache Saving debug log to /var/log/letsencrypt/letsencrypt.log
Which names would you like to activate HTTPS for?
1: erp.sevenrocks.in 2: www.erp.sevenrocks.in 3: test-live.sevenrocks.in 4: www.test-live.sevenrocks.in
Select the appropriate numbers separated by commas and/or spaces, or leave input blank to select all options shown (Enter ‘c’ to cancel): 1,2 Requesting a certificate for erp.sevenrocks.in and www.erp.sevenrocks.in
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems: Domain: www.erp.sevenrocks.in Type: dns Detail: DNS problem: NXDOMAIN looking up A for www.erp.sevenrocks.in - check that a DNS record exists for this domain
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Some challenges have failed. Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details. root@test-live:/etc/apache2/conf-available#
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
The error that you are getting indicates that you do not have a DNS record for the www version of that specific domain.
You could do one of the following:
If you do not use the www version, you could issue an SSL for the non-www version only
If you need the www version, then you need to add a CNAME record for your www version to point to your domain:
https://docs.digitalocean.com/products/networking/dns/how-to/manage-records/
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.