Thanks for the insight. Yes somehow I downloaded Nginx and I had to disable it then boom, the website worked again. I disabled Nginx by using the following command before rebooting.
sudo update-rc.d -f nginx disable
After rebooting, Nginx doesnt show up on the list with either of the following commands.
sudo /opt/bitnami/ctlscript.sh status ps aux | grep -i nginx
At this point the website started working. This problem was solved in part with assistance on Bitnami support people over on Githib.
Thanks a bunch, Connor
The Bitnami WordPress image used on Lightsail works with Apache and PHP-FPM – not nginx. First disable nginx and confirm that apache is running, then try to access your site again.
index.php is the default file called for a given folder, so it's unlikely adding it explicitly would fix your issue.
The logs in
home/bitnami/stack/php/logs/ are owned by
root user so you need a command like
sudo zless /home/bitnami/stack/php/logs/php-fpm.log-<date>.gz or just
sudo less <some other non-gzipped log> for the most recent log files.
AWS lightsail (wordpress) + static page (CloudFront) on the same domainasked 2 years ago
How do I activate SSL on WordPress with NGINX and SSL Certified by Bitnami and Automatticasked 8 months ago
Why is AWS Lightsail Bitnami WordPress NOT Posting to error.log?asked 6 months ago
Lightsail/wordpress cron job not workingasked 4 months ago
php mail function not working in Lightsail Linux Bitnami WordPressasked 6 months ago
WordPress files on LightSailasked 2 months ago
Lightsail Wordpress - Welcome to nginx!Accepted Answerasked 3 months ago
WordPress Multisite Lightsail Bitnami apps directory missing, manual edit wp-configasked 10 months ago
How to automatically renew SSL Certificate for wordpress hosted on lightsailasked a year ago
Security Update in AWS Bitnami WordPressasked 3 months ago