Thank you for sharing this information with us. The first thing I noticed in your Apache's configuration file (
/opt/bitnami/apache2/conf/bitnami/bitnami.conf) is this redirection that is causing the issue, I think.
Redirect / https://www.mysite.com/
Those configuration lines redirect all the incoming requests to / to https://www.mysite.com/ this way you can redirect all the requests to your IP to use your domain name but it also affects all the subdomains of your application.
I suggest you remove the ServerName, ServerAlias and Redirect lines from that configuration file and restart the Apache service after that.
sudo /opt/bitnami/ctlscript.sh restart apache
Now verify that everything works fine. We can continue modifying the Apache configuration in future posts in case you want to modify anything.
Happy to help!
Was my answer helpful? Click on