AWS Lightsail Letsencrypt DNS not propagating

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. |, so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: sudo chmod 666 /opt/bitnami/apps/wordpress/htdocs/wp-config.php && sudo chmod 666 /opt/bitnami/apps/wordpress/conf/htaccess.conf

It produced this output: chmod: cannot access '/opt/bitnami/apps/wordpress/htdocs/wp-config.php': No such file or directory

My web server is (include version): Linux ip-172-26-5-215 4.19.0-17-cloud-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 (Think its this)

The operating system my web server runs on is (include version): Debian/ Linux (Think so)

My hosting provider, if applicable, is: AWS Lightsail Wordpress Instance

I can login to a root shell on my machine (yes or no, or I don't know): Yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): No

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): Latest

Sorry, but I'm really at a loss here: what does a failing chmod command for apparently managing a Wordpress installation have to do with Let's Encrypt?


Hi. You're not the only one thats lost. But I followed the instructions in this tutorial this they always work and I don't know code. See the last ssh step. Step 8

Also, Bitnami is changing its directories for a reason unknown to me.
See this: Understand the default directory structure

Yet I could figure out this command: sudo chmod 666 /opt/bitnami/wordpress/wp-config.php
But not make the second part work: && sudo chmod 666 /opt/bitnami/apps/wordpress/conf/htaccess.conf

I think the new command for Step 8 has to be:
sudo chmod 666 /opt/bitnami/wordpress/wp-config.php && sudo chmod 666 /opt/bitnami/apache2/conf/vhosts/htaccess/wordpress-htaccess.conf

See step 8 here: Tutorial: Using Let’s Encrypt SSL certificates with your WordPress instance in Amazon Lightsail | Lightsail Documentation

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.