well yea everyone knows that you need a server to host a website and for that one must buy a shared or private server from godaddy , hostgator etc and pay money . But there is an awesome alternative to host your static website for free where you don't need to spend money . The alternative is Google Drive where you can host both basic and complex javascript websites both . You can upload and public any content like CSS, HTML PAGES, audio, images, icons etc.


Host Website For Free With Google Drive


You can easily host a website on google drive if you are using the older version of google drive . All you need to do is first upload all your web files to the folder in google drive and set sharing permission for that folder as public so it can be accissible . Now open the file index.html in goole docs and you need to click on the preview option so that you can get the URL link of your website.

You will be disappointed to know that the new version of google drive doesn't allow web hosting feature, you can just upload all your web files to the folder in google drive but the publish option for website is gone .

Chill we have another way which will let you publish website on google drive in few easy and simple steps .

To Google Drive From Desktop In Simple One Step


All you have to do is keep all the website files into a zip file and click here, it will send you to the google drive webpage where you can upload your files . After uploading the files you will be getting a unique generated public generated URL of your website .

NOTE:- if you are using this for the first time you will be asked to click on the authorize button and confirm it as the scripts need permission to be uploaded to google drive .

Google scripts will be doing some hard work for you, one you click on upload you will see a new folder created in your google drive . Change the permission to public so that every one can access and new URL of googledrive.com is generated with the help of id of new folder .

You need to keep two things in mind while hosting a website on google drive that the main page of your website is index.html . It will be the home page and secondly you cannot point a custom domain to google drive, the structure of google drive will be like this :- googledrive.com/host/  


Post a Comment

Note: Only a member of this blog may post a comment.

 
Top