0
votes

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?

  1. I have created Cloud Console project for my web-app. My Project ID: rippl-io
  2. Then linked the domain of the web-app to existing Google Apps account as a secondary (as I were redirected to Google Apps after trying to add new domain from the cloud console). Domain name I am going to use: rippl.io
  3. In App Engine settings in Google Apps I am clicking "Add new url" and selecting rippl.io domain. But it returns error.

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?

1
Can you provide some more information as to what you are trying to do? Are you thinking you can actually hosting a pre-existing website on Google Cloud Storage? Or are you trying to use the cloud storage as the database that houses your web site's data? - Derek
@Derek ,Existing website. I want to change hosting to Google Cloud and connect domain as well - user2848095

1 Answers

1
votes

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