I just noticed that certbot had failed its renewal, and when running certbot manually I was able to renew certificate on 1: mydomain.com, but when trying to renew 2: www.mydomain.com I get the error:
Failed authorization procedure. www.mydomain.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.mydomain.com/.well-known/acme-challenge/Yz4RezbUvNFiGMoUi__MV5-XpmQ3tD2DwSeO4cpxWrw [2607:f8b0:400f:800::2013]: "<!DOCTYPE html>\n<html lang=en>\n <meta charset=utf-8>\n <meta name=viewport content=\"initial-scale=1, minimum-scale=1, width=dev"
When opening www.mydomain.com in the browser I get a 404 error from google:
404. That’s an error.
The requested URL /login was not found on this server. That’s all we know.
But, mydomain.com works fine (without www). I apparently have no idea what I’m doing.
I’m running the ubuntu droplet with apache. Any thoughts?
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!
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.