How to use CNAME to properly redirect subdomain from host to Google Cloud -
i have outlined issue below in list format clarity:
- i have subdomain named
clouddemo.camerontaylor94.com
- i used cname record redirect subdomain
c.storage.googleapis.com
- on google cloud, have bucket named
clouddemo.camerontaylor94.com
(exactly same subdomain - i uploaded html files, css file, , various text files make resume website bucket exact same file path in host
- when go clouddemo.camerontaylor94.com in browser, error "invalid bucket name" appears, , url changes
c.storage.googleapis.com
- why bucket name invalid - shouldn't subdomain name?
thank you!
to use bucket static site need configure first using gsutil:
https://cloud.google.com/storage/docs/website-configuration
you need upload index.html , 404.html bucket , run this:
gsutil web set -m index.html -e 404.html gs://clouddemo.camerontaylor94.com
Comments
Post a Comment