Google drive is a service by google which allows users to store their codes, pictures, audio and video files. It provides its storage space for free. But do you know, you can host a complete static website on google drive? There are so many free hosting sites available but most of them show ad banners on the hosted sites. But google drive is perfect if you are a web developer and love doing experiments with codes. Google drive supports html, css, javascript etc but it doesn't support php files. So you can't host database driven sites on google drive. Lets see how to host websites on google drive:
1. Visit http://drive.google.com and sign in using your gmail user id and password.
2. From the dashboard, click Upload > Folder.
3. A popup box will appear now. Select the folder in which you have kept your webpages and upload it.
4. Now your site will start uploading in google drive. When the upload finishes, click "SHARE" link as shown in the image below:
5. Now from the sharing settings, click "Change" and then set the visibility option to "Public on the web" and then click "Save", then "Done".
6. Now, click on the uploaded folder to open it and then click on the home page html file to open it in google docs.
7. Now you will see the code view of the html page. Just click "Open" from the bottom right side of the screen.
8. Now your page will open in Google Docs. Click "Preview" button to see the preview of your webpage.
9. Now copy the url of the opened page from the address bar. That is your hosted site's url. You can share it with your friends and can use it to view your website hosted on google drive.
I have made a video tutorial which will make the process clearer. Watch it below:
Keep visiting for more tips and tricks.
1. Visit http://drive.google.com and sign in using your gmail user id and password.
2. From the dashboard, click Upload > Folder.
3. A popup box will appear now. Select the folder in which you have kept your webpages and upload it.
4. Now your site will start uploading in google drive. When the upload finishes, click "SHARE" link as shown in the image below:
9. Now copy the url of the opened page from the address bar. That is your hosted site's url. You can share it with your friends and can use it to view your website hosted on google drive.
I have made a video tutorial which will make the process clearer. Watch it below:
Keep visiting for more tips and tricks.
0 blogger:
Post a Comment