Hello,
I have a fresh install of debian buster and apache.
I want to install https before installing softwares.
My subdomain is dolizelec.zelec.homelinux.net.
The redirection seems to be correct as if I call http://dolizelec.zelec.homelinux.net in a navigator, I have the default apache page.
I install certbot with this guide https://certbot.eff.org/lets-encrypt/debianbuster-apache with snap.
The problem come with
root@dolizelec:/etc# certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Enter email address (used for urgent renewal and security notices)
(Enter 'c' to cancel): mymailadress
Would you be willing, once your first certificate is successfully issued, to
share your email address with the Electronic Frontier Foundation, a founding
partner of the Let's Encrypt project and the non-profit organization that
develops Certbot? We'd like to send you email about our work encrypting the web,
EFF news, campaigns, and ways to support digital freedom.
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
I change a parameter in my router.
The problem is now
Waiting for verification...
Challenge failed for domain dolizelec.zelec.homelinux.net
http-01 challenge for dolizelec.zelec.homelinux.net
Cleaning up challenges
Some challenges have failed.
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
I think I have another parameter to change in my router.
Thanks
Benoit
It might not be the router that is doing that redirection.
I would follow port 80 through your router to where it port forwards to.
There is an nginx web server there that is doing this redirection.