The problem is that it is not respecting the vhosts configs.
When I browse, Instead of directing it to the configured subdomains, it directs to the default document root "/opt/bitnami/apache2/htdocs"
Before I used "generate-certificate.sh", my subdomain worked and were directed to the appropriate application directories
After I ran "generate-certificate.sh" all requests are being directed to the root directory
For example, before running "generate-certificate.sh" I could go to
I configured these subdomains/vhosts based on https://docs.bitnami.com/virtual-machine/infrastructure/lamp/configuration/configure-custom-application/
I configured the applications based on https://docs.bitnami.com/aws/infrastructure/lamp/administration/create-custom-application-php/
It would direct to the correct, configured vhost folder/application.
But after running "generate-certificate.sh", I am now being directed to the same, default root directory, regardless of whether I go to api.mydomain.com or blogs.mydomain.com