I have spent hours to trying to host some of my local HTML
pages with Google Drive
.
I was following the instructions as given in https://www.ecanarys.com/Blogs/ArticleID/135/How-to-Host-your-Webpages-on-Google-Drive, however without any success.
So far the steps I followed -
Created a folder in the Google drive
Uploaded all files and folders including the HTML
, CSS
and other required files using drag-and-drop facility
Changed the sharing option to 'Anyone on the internet with this link can view' attached shanpshot
As per the instruction, I should get some link to display the page through Browser. However I just see the source-code.
Could you please help me the right way to host my HTML
page with Google-Drive.
Any pointer will be highly appreciated.
The web hosting abilities was deleted from Google Drive.
Please see the following G Suite Blog Post to better understand the issue you are challenged with. Deprecating web hosting support in Google Drive
But you can use Github for hosting a static HTML site. If you have all files into a repository, you go to setting of this repo
Then go to the Github Pages section.
Then select the master branch and directory of index.html file and save it. In my case, its root directory.
After that, you will get a URL in this section.
For Github hosting, you can follow this instruction.