TL;DR - Put your shared file ID after this URL: https://drive.google.com/host/
Simpler version:
Let's just say you have a HTML page you want to host privately(without paying of course). It could be for a demo purpose(like I have been using for this blog) or to have it available at your disposal always(like a bookmarks or notes archive you don't want in your primary app).
There are many methods, but I believe using Google drive is much simpler(almost everybody has a Google account).
Share your File in Google Drive
I'll assume that you already have your file uploaded to Google Drive.
Right click on the file(yes it works!) and select share.
The string within file/d/ and /view? is your file id. Copy it and place it after the following url:
https://googledrive.com/host/
Now, the result should be something like this:
https://googledrive.com/host/0B4V9Li5VmqqQV3R3NVk1ZnBYMGc
That's the link to view your HTML file in all it's glory!!
If you need a readable(or remeberable URL), use goo.gl(or some other service which allows custom URL shortening) to shorten the URL.
Simpler version:
Let's just say you have a HTML page you want to host privately(without paying of course). It could be for a demo purpose(like I have been using for this blog) or to have it available at your disposal always(like a bookmarks or notes archive you don't want in your primary app).
There are many methods, but I believe using Google drive is much simpler(almost everybody has a Google account).
Share your File in Google Drive
I'll assume that you already have your file uploaded to Google Drive.
Right click on the file(yes it works!) and select share.
Now Select Anyone with the link can view in the drop down as shown below:
Then Select copy link.
Now, your copied link should look like this:
https://drive.google.com/file/d/0B4V9Li5VmqqQV3R3NVk1ZnBYMGc/view?usp=sharingThe string within file/d/ and /view? is your file id. Copy it and place it after the following url:
https://googledrive.com/host/
Now, the result should be something like this:
https://googledrive.com/host/0B4V9Li5VmqqQV3R3NVk1ZnBYMGc
That's the link to view your HTML file in all it's glory!!
If you need a readable(or remeberable URL), use goo.gl(or some other service which allows custom URL shortening) to shorten the URL.
Hope this helped someone. Happy Coding!

