How to Host a Website for Free on Google Drive

25/05/2013 17:11

There are so many free hosting services which allow you to host your files free of cost into the cloud. But what if Google itself provide you such service. Yes Google is providing free webhosting service using Google drive. You can host a website for free on Google Drive. You can host any type of file like HTML, JAVASCRIPT files and CSS style sheets to your drive and share your web URL with others.


 

What is Google Drive?

Google Drive is a free of cost service which allow you to store your files as well as synchronize you files into the cloud. Google drive provide each user his free 5 GB of cloud storage which is available for each user for his file uploading, sharing and collaborate editing.If you are new to Google Drive do check Getting Started Guide with Google Drive.


What can you do using Google Drive hosting?

Using Google drive hosting you can host your HTML files, JavaScript files and CSS files. You can also put media files like images on cloud and use them in your webpage.
While designing or coding your HTML, any one can put relative path of their image files or CSS style sheets. I.e. if you put your image file in same folder as your HTML file than you can use image in code such as:


Background-image: URL (background.png);

What you can’t do using Google Drive hosting :

Server pages like PHP, JSP are not yet supported. So you can’t do server side scripting as we can do in normal hosting.
Also you can’t do custom domain mapping in Google drive as Google don’t support this service till now. Also you won’t get any option in setting to set subdomain and DNS configuration.


SQL database is also not available. So if you planning to launch a website having user registration and login properties than you need to change your decision or you have to use Google forms and excel spread sheets as your data source.


Quick Video Tutorial on How to Host a Website for Free on Google Drive:

Step Wise Explanation to host a website on Google Drive

So now you are aware that what is Google Drive and what are its limitations if are going for hosting website on Google Drive. Let’s now go for step wise explanation of hosting a website using Google Drive hosting for free.


  • Create your file folder containing all your HTML files and related CSS, JavaScript and media files.
  • Sign in to your Google Drive Account here  https://drive.google.com
  • You can find upload button there for uploading file and folders to your Google Drive.
Upload+Files
  • Click that and upload complete folder at once (you can go for file option also and upload each file separately). After clicking upload button a file window will be pop up where you can select your folder containing your files from your desktop.
Select+Folder+from+Desktop
  • After the folder is selected, on clicking ok a new dialogue box appear asking you about uploading setting. Make sure here the both check boxes should be unchecked. If you check the first check box than your HTML file will converted to Google Drive format and it won’t work as Webpage.
Upload+Setting+for+Uploading+files+in+Google+Drive
  • Click on start upload and wait for uploading files and folders
  • Make folder and all files available to public by right clicking the folder and navigate to share option. This step is important as if you don’t make your files public your files will not be available for preview that means no one other than you can see your files.


Read more: https://www.alltechbuzz.net/#ixzz2UIti4elc