Saturday 10 August 2013

How to Host your Website on Google Drive

If you are looking for a place to quickly host your websites but don’t have access to any web server, Google Drive is a great alternative. You can use Google Drive to host basic websites or even complex JavaScript based web apps. You may publish any kind of static content* on your website including HTML pages, images, CSS, icons, audio and video files.
Google Drives serves your website over HTTPS and thus can be be used for hosting custom Facebook Pages since Facebook requires that custom pages are only served over secure HTTP.
How to do this:-
You can directly upload your files into googledrive with few couple of steps from your own computer.
The html pages, javascripts etc can be done with the help of dreamweaver or with a notepad(Note that the file created in notepad should be saved in".html"  folder.)
First create the document and put all files in a compressed zip folder and call it "Website". The same thing is to be done with your drive. Just create a new folder named website.(You can also use  sample website)
Click  click here to upload that zip file to your Google Drive. Once the file has uploaded, the tool will generate the public URL of your website.
If you are using google script for the first time, then you wold have to authorize. Just click the "Autorize" button and it will authorize the app.
Or you can just upload the file into google drive, change the mode of sharing into public and copy the embed code. Open a new tab and now type "www.googledrive.com/host/and the embed code" 
For instance, if you are  to hosting  a website and wish to have a custom domain, that is not Possible but you shorten the url and make it a good one with the help of Google URL Shortener .
Watch this video to understand more


No comments:

Post a Comment