This is Part 2 of the two-part series on how to deploy a Django application to Google Cloud Platform (GCP). In Part 1, I discussed how to set up a Virtual Machine using GCP's Compute Engine, and deploy a Django application to it, which was then accessible through just an IP address.
In this tutorial, I will continue from where we left off, and demonstrate the following 3 things:
- Pointing the Domain name to our GCP Instance.
- Setup SSL to use https instead of http.
- Redirect non-www to www.