How to Host Static Website on Google Cloud Storage

1. Goto Google Cloud Storage console

2. Create a multiregional bucket with the domain name ex: www.infiflex.info (Assuming that the domain is already registered)

3. Change permissions at bucket level (public read to all users) by executing the following commands:

a. gsutil acl ch -u AllUsers:R gs://www.infiflex.info

b. gsutil defacl set public-read gs://www.infiflex.info

4. Upload website files and folders to Google Cloud Storage bucket (created in step 2).

5. Make sure that all the files in the bucket are shared publicly.

6. Now click on the domain name in the browser to open website hosted in it.