Google Cloud Platform Static website
Display instructions https://cloud.google.com/storage/docs/hosting-static-website for instructions
- Create a google cloud account https://cloud.google.com (requires credit card details)
- Register domain c go daddy ($3 ! for one year)
- Verify the domain using Google automatic tool https://www.google.com/webmasters/verification/home?hl=en
- Log into Go Daddy and open domain - DNS Zone File - Edit existing www record:
- Type: CNAME
- Host: www.wisywgit.space (or whatever you have registered))
- Points to: c.storage.googleapis.com
- TTL: 1 hour (default value)
- Log into https://console.cloud.google.com/storage/browser
- Create a bucket with the name of the website e.g. www.wisywgit.space (This failed for me for a bout an hour before working. Perhaps server settings from the verification had not reached the console server ?)
- Edit Object Default permissions
- Add Permission: User - allUsers - Reader (see https://cloud.google.com/storage/docs/cloud-console#_sharingdata)
- Edit website configuration:
- type the filename for the main page and Save (the default index.html is already there in grey, but must be typed and saved to execute it)
No comments:
Post a Comment
Comment or Send a Message
You can use this form to send a message OR make a comment as your contribution is NOT published automatically, but sent to Stephen for consideration.
You can select "anonymous" from the drop down menu below if you do not have a google account.