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 your site

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

DNS Records

Click Next

Select a plan (FREE is enough)

Select Free 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.

Change 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.

Write A Comment

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

Where Writing Meets Entrepreneurship!

Get FREE Google Cloud Tutorials.
GET NOW
close-link
Please help us get 1000 likes in Facebook. Thank You!
LIKE NOW

Stay Connected!

Get latest tutorials on Google Cloud and Open Source topics
SUBSCRIBE
close-link