I have been setting up demo web applications under my domain jackchan.hk . My web applications require running on its own Flask server, therefore it is different from the wordpress instance that I am running in my current Google Compute Engine. I am thinking about doing it like that.
This article has described how you can get that setup. I am using Cloudflare instead as the DNS server, so it will be a bit different from what have been described in the article. Please also note that if you are using the bitnami installation in google compute engine, the path of the apache config file is /home/bitnami/stack/apache2/conf/bitnami/bitnami.conf .
And to restart the apache for bitnami installation, you should run the following command instead
sudo /opt/bitnami/ctlscript.sh restart apache
I also need to add the web application server startup script to my Google Compute Engine during the bootup process. We can do it using crobtab -e
@reboot ~/python-full-stack-web-development-with-google-cloud-service/run.sh &