Skip to content

I have a working Wordpress site on Lightsail, but wordpress not in /opt/bitnami/apps?

0

The impetus for posting this question is trying to correctly assign multiple SSL certificates for multiple domains, and it does not seem easy to revoke a certificate through the bncert tool. It is thus not straightforward to update to run SSL for multiple domains. So I found this tutorial: https://www.rapturezone.com/multiple-domains-multiple-certificates-lets-encrypt-certificates-on-wordpress-multisite-aws-lightsail-using-bncert-tool/

However the odd thing is that under /opt/bitnami/apps there is no wordpress directory. My website works fine; is there anything I should do with the Wordpress install on my instance though for completeness and ultimately to then generate this directory?

asked 10 months ago165 views
1 Answer
1

It's unusual that you don't have a WordPress directory under /opt/bitnami/apps on your Lightsail instance, as this is typically where Bitnami installs WordPress. However, the absence of this directory doesn't necessarily mean your WordPress installation is incomplete or non-functional, especially since you mentioned your website is working fine.

In Bitnami-powered Lightsail instances, WordPress is often installed in the /opt/bitnami/wordpress directory instead. You can check if this directory exists on your instance.

If you're trying to manage SSL certificates for multiple domains on your WordPress site, you might need to adjust your approach slightly. Instead of looking for WordPress in the /opt/bitnami/apps directory, try working with the actual WordPress installation directory, which is likely /opt/bitnami/wordpress.

For managing multiple SSL certificates, you can still use the bncert tool, but you may need to specify the correct paths when running the tool. If you're having trouble with revoking certificates through bncert, you might consider using the Certbot tool directly for more granular control over your Let's Encrypt certificates.

Before proceeding with any changes, it's crucial to back up your WordPress installation and database. If you need to make significant changes to your SSL configuration, you might want to consider reaching out to AWS support or consulting with a WordPress expert to ensure you don't accidentally disrupt your site's functionality.

Remember, the exact file locations and configuration steps may vary depending on your specific Lightsail instance setup and WordPress version. Always double-check paths and configurations before making changes to your production environment.
Sources
Lightsail Instance Multisite Wordpress Setup | AWS re:Post
Update a Bitnami WordPress website's site and home URLs | AWS re:Post
How can I edit the WordPress and Site URL? | AWS re:Post

answered 10 months ago
EXPERT
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.