I have been trying to renew my let's encrypt certificate with no success. When I run the renew command on the terminal, the renew process starts running but it fails at the point of verifying the certificate with an error saying that the URL cannot be accessed.
I believe that this is because of Laravel's routing since the certificate is saved in the main domain folder(.well-known/acme-challenge) which cannot be accessed directly from the domain name, i.e domain.com/.well-known/acme-challenge/certificate). So how do I change the place where the certificate is saved from the current folder (.well-known/acme-challenge) to laravel's public folder where it is accessible?
This is the error I am getting: