Cloud Storage Google Cloud

Set up HTTPS for Google Cloud Storage Static Website

Set up HTTPS for Google Cloud Storage Static Website. In this guide you are going to learn how to set up SSL for your custom domain on GCP.

Prerequisites

Your website is accessible on internet using your domain name. (www.yourdomainname.com)

Learn how to host a Website for FREE on Google Cloud Storage

FREE HTTPS with Cloudflare

If your website traffic is routed through Cloudflare, you can get your site loaded with HTTPS.

Create an account at Cloudflare

Once you have your Cloudflare account click Add Site

Enter your Domain name and click Add Site

Add site in Cloudflare

Now Cloudflare will automatically query your existing DNS records and import them for you.

DNS import

Click Next

Select a plan (FREE is enough)

Choose your plan

Click Confirm Plan

Now you can see your imported DNS records.

Verify DNS records

Click Continue

Now update the nameservers for your Domain with the provided nameservers.

Update Nameservers

Once done click Continue

Once your DNS is propagated globally your site will become active.

Activate HTTPS

  • Go to Crypto tab
  • Scroll down a little and turn on Always use HTTPS
  • Next turn on Automatic HTTPS rewrites
  • Now try to access your website, you should see your website loaded with HTTPS.

Now your website is accessible through HTTPS using Cloudflare.

Cloudbooklet builds a large collection of Linux based guides and tutorials on Cloud platforms like Google Cloud, AWS, Azure, DigitalOcean and more

Write A Comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.