Reputation: 11
I am new to Google Cloud Storage.
I want to try Google Cloud Storage to host my web-app. Is it possible to upload my website to Google Cloud Storage and connect own domain without Google Apps premium subscription? If yes, please check my steps below, how I tried to make it works, and let me know where I where wrong?
I am guessing I can add only primary domain and that must be a reason of error. So, next, to change rippl.io to primary domain I need to upgrade Google Apps to premium. Are any other ways to add own domain to my website on Google Cloud Storage other than buying premium Google Apps?
Upvotes: 0
Views: 1462
Reputation: 169
To add domain @ Google Cloud Storage, first you need to verify it from Google Webmaster Tools, then create a bucket exactly matching your domain name e.g. www.example.com
upload your data, files etc, then add CNAME
entry www.example.com IN CNAME c.storage.googleapis.com.
Please remember, Google Cloud Storage will work for plain html webpages it will not execute any server side codes like php
gsutil web set -m index.html -e missing.html gs://www.example.com
If you still have php page, you can use below code, but php code will get displayed in webpage view source, it will not get execute:
gsutil setmeta -h Content-Type:text/html gs://www.example.com/demo.php
To add domain @ Google App Engine, you need Google Apps for Business account to verify it.
Upvotes: 1