Pages

Monday, 18 November 2013

Host static HTML website on google drive and access publicly for Free

Hello Friends,

Today when i'm surfing on web got something exciting with Google drive. We can host HTML website with using of Google drive for free.

Let see the example :

https://googledrive.com/host/0B4rYHWlb88LUelAxcjdjWFVOa0U/

Amazing thing is that it can support Javascript as well as JQuery.

Follow the steps to create your own static website and host it on your google drive.

Step 1:

Open your google drive and create one directory with name you want and click on share button as shown in below image:


Step 2:

Click on Change link as shows below:



Step 3 :

Select first option Public on the web



Step 4 :

Be ready with your static website which contains pure HTML, CSS, JavaScript (if any) code and open the directory which you have created and upload all files.

Note that the main file index.html is your default access file.

After completing your upload it's directory structure is something like:

<your directory>/index.html



Now open directory that contain index.html file and copy token from url as shown in below image:





Now your website is ready to public view.

Just paste your token after following link:

http://googledrive.com/host/<your token>

You can access your website now.


Hope you Enjoyed it.

Thank You.

No comments:

Post a Comment