I have uploaded a detailed video tutorial on hosting webpages on Google Drive. Watch the video tutorial for better understanding. You can use the same trick for hosting other files like .jpg, .js, .php etc.
In this blog post I will tell you how to host html files on Google drive. There are many reasons of hosting html file on Google drive. hosting html file on external websites having good bandwidth and download/upload speed increases the page loading speed. After hosting your files on Google drive, you will notice that You can use the same method o host html files and php files on Google drive.
After uploading the file, click on share
if your website uses http protocol, then use this code
Recommended: How To Host Webpages On Google Drive
Google drive gives you very huge storage space to store your files. You can store many files on your Google drive. For hosting a html file on google drive you need to have a good malware free html file to host and a google account. If you these things then follow these simple steps given below:1.Uploading the file
you need to upload it on Google drive. Visit Google Drive and click on upload. then select the text file that we have created in the previous step.After uploading the file, click on share
2.Changing privacy
After that, you have to change the privacy settings of the file, change privacy settings to public so the everyone can access the file.3.Getting File-ID
The second thing that you need to do is to note down the file-id of the file. It is placed in between ".....file/d/" and "/edit......" see the link given below.https://drive.google.com/file/d/FILE-ID/edit?usp=sharingPut your file id in the link given below
if your website uses http protocol, then use this code
http://googledrive.com/host/FILE-IDIf your website uses https protocol then use this code
https://googledrive.com/host/FILE-ID
now shorten the url with goo.gl url shortner and share the links!!!
0 comments:
Post a Comment