Dreevoo.com | Online Learning and Knowledge Sharing
 
Home | Programs | Web services | Google Drive | Hosting web pages on Google Drive
Guest
Click to view your profile
Topics
Programs
Languages
Recipes
Home
Shortcuts
 
 

Hosting web pages on Google Drive

Did you know that on Google Drive it is also possible host HTML web pages. Go through this lesson and learn how to do it.

 
  Author: podtalje | Version: Google Drive | 8th September 2013 |  
 
 
1.
 

First open Google Drive web service which allows you to host you files online on Google servers.

Open https://drive.google.com and log in with you username and password.

 
 
2.
 

Click on Create and select Folder to create a new empty folder.

In this folder we will store files of our web page.

 
 
3.
 

As the name of the folder write web.

Click button Create.

 
 
4.
 

Because we want our web page to be accessible by everyone we must set files to be visible to public.

Right click on the web folder and select Share -> Share.

 
 
5.
 

By default access is limited only to you.

Click button Change.

 
 
6.
 

Select option Public on the web and click button Save.

 
 
7.
 

Go back to the folder view and click on folder web to open it.

 
 
8.
 

We will now upload files of our web page.

Click arrow icon and select Files...

 
 
9.
 

On you hard drive select all the files of your web page.

You can select multiple files by holding down the CTRL key.

 
 
10.
 

Click on button Upload and share to confirm the upload.

 
 
11.
 

You will now be able to see the files you uploaded in the Google Drive.

Click My Drive to return to root folder.

 
 
12.
 

Open Share dialog of the web folder, like in step 2.

 
 
13.
 

Every file and folder has a unique identifier which is composed of numbers and letters.

The value next to id= is the identifier of your folder. The identifier ends with an & character.

In my case the identifier is
0BxMG0iMdiZU7WDlvdVVYazlpZ1E

 
 
14.
 

When we know the identifier of the folder we can now generate a complete URL of our web page.

URL is composed like this:
https://googledrive.com/host/IDENTIFIER

In my case the complete URL is:
https://googledrive.com/host/0BxMG0iMdiZU7WDlvdVVYazlpZ1E

You can now open the link in your browser or share the link with others.

 
 
 
   
  Please login to post a comment
   
 
 
online learning made for people
Dreevoo.com | CONTRIBUTE | FORUM | INFO