By Chempo
So I installed iRedMail for my mail server, after that I wanted to install LetsEncrypt but it gives me errors.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: mail.placetoknow.com
Type: unauthorized
Detail: Invalid response from
http://mail.placetoknow.com/.well-known/acme-challenge/xZnfjqAedEiwkmbe2BWNWMT1ul-6MAyypleQOxeo3Ww:
"<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>"
Domain: app.placetoknow.com
Type: unauthorized
Detail: Invalid response from
http://app.placetoknow.com/.well-known/acme-challenge/C83_ljkYsC2Dfue6X4x0uK3ySZZS2k35X6vfAnC1oEY:
"<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>"
Domain: www.placetoknow.com
Type: unauthorized
Detail: Invalid response from
http://www.placetoknow.com/.well-known/acme-challenge/GT-feTfFHHlRYl6wgQsXve8ji9JxpveJbIKkW4M4VLo:
"<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>"
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.
I really don’t know how to solve this problems. Thank you in advance
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!
@Chempo Okay, something is wrong, since the server-block you posted is for your root domain, but the errors in the first post lists 3 subdomains www mail app.
So somewhere there must be more Nginx configuration - if not, then you need to create the server-blocks for the other subdomains: https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-virtual-hosts-server-blocks-on-centos-6 Skip step 6 about creating a local hosts file.
Hi @Chempo
Can you post your Nginx server block?
It’s located in /etc/nginx/sites-enabled/[the name of your configuration].conf
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.