Nov 29, 2012

How to use Google Drive as a free web hosting

Do you know that you can host your website for free using Google Drive? There are 4 simple steps you should follow in order to do that:
  1. Go to your Google Drive and create a new folder.
  2. Make this folder public, by selecting it on the list and clicking the Share button. Then choose Public on the web and click Save.
  3. Upload your HTML, CSS, JS files and images to this folder. You can create subfolders too. The file named index.html will become the default page. Note: Google Drive doesn't support PHP, JSP or ASP scripts yet!
  4. Look at the address bar and copy the folder ID, which comes at the end of the URL:

    Then go to, paste the folder ID there and choose your own short name. After submitting the form, your website will be available under your alias:<alias>

    For example:
The above example is the Cr OS Linux website.