Before reading this post, Please first checkout my recent article How to host your CSS or JS codes in GoogleDrive. If you are searching for a site that offers free hosting for your webpages, You will first think to sign up for free webhosting sites to host your single webpages. But you don't if that free web host has their minimum downtimes. So it's more better to host your single webpages inside sites that are very popular like Google's Google Drive.
Google Drive- is a free and paid cloud hosting service that allows us to upload and host images, important files, and any files that can be hosted with them. But Google Drive doesn't show us how do we host our own single web pages with them. So this article will teach you how to that easily.
Procedure for Hosting your Single Webpages on Google Drive:
- Go to your Google Drive account, You can login on Google Drive with your youtube or Gmail account.
- Upload your single webpage. Your webpage should end in .html or .htm.
- After uploading your webpage, Right Click on the file then Click share.
- A pop-up settings will open, Copy the link given there.
- Make the File Public on the Web.
- Now get the unique characters on the sharing URL. see below.
https://docs.google.com/file/d/FILE CODE/edit?usp=sharing
- Then replace the FILE CODE below with your unique code.
http://googledrive.com/host/FILE CODE
- Test your URL, If it shows the page that you've uploaded, Congratulations!. But when you got a broken link, You can just repeat the process below and I'll wish you to have a good luck.
0 comentarios:
Post a Comment