You added the rewrite rules in the default VirtualHost of Apache (/opt/bitnami/apache2/conf/bitnami/bitnami.conf) and that's why the IP is redirected to https://yourdomain but you added custom VirtualHost blocks in the /opt/bitnami/apache2/conf/bitnami/bitnami-apps-vhosts.conf file. As you can see there, you included these 2 files:
The first one includes the information about the cliffsidesecurity.com.au domain, so you need to add the rewrite lines there if you also want to redirect that domain to https. I also noticed you added another VirtualHost in that file to define the www.adrianoleite.com domain. You have the second file to do that so please remove that information from the first file and add it in the second one.