This is a quick tutorial of what I think is currently the best option for hosting static websites, within a Google Cloud Storage bucket with HTTPS provided by Cloudflare!
There are many ways to host a static website, but in my opinion, none can compete with this one in terms of simplicity, scalability, and affordability (it’s practically free!).
Yes, I actually bought that domain, and the website is live 😁:
Verifying domain ownership for GCS bucket creation:
– (google domains)
– (any domain provider)
Why does a static site even need HTTPS?
Code from this video and others:
– 0:00 Intro
– 0:38 Super simple static site setup… w/ SSL
– 0:45 Buying a new domain
– 0:56 Add domain to Cloudflare
– 1:22 Add CNAME record
– 1:38 Choosing Flexible SSL
– 2:13 gsutil commands
– 3:25 rsync
– 3:50 Viewing live site
– 4:07 Question of the week
– 4:27 Outro
Community Size at Time of Posting:
– Subscribers: 592
– Channel Views: 9647
Note: I have a running joke with my wife that I’m not going to shave my beard until I reach 1000 subscribers (the last time I did was at 100…) and it is starting to get out of control 🧔+🎅+😳+😬+😅+😂