How To Host Your Website On Google Drive?

In the recent times, we have successfully highlighted all the major updates and innovations related to different Google products including Gmail, Google Babble and Blogger. I hope you have been following us on BloggingeHow. Today I will talk about a rather simplistic approach towards hosting a website using another of Google's product - Google Drive.

Title Image

Hosting a website does not sound very convenient if you do not have an approach to a web server. But today you will be surprised to know how Google Drive easily provides an alternative to this issue. 

The complexity of your website files will not matter. You can host a plain and basic website on Google Drive as well as those complicated JavaScript based web applications, CSS files and other multimedia files. Once uploaded on Google Drive, it will serve your website over HTTPS.

Now the big question. How to do it? 

Step 1: Upload Files on Google Drive

As mentioned earlier, you will be surprised to know how convenient and easy it is host a website on Google Drive, with just a couple of easy steps.

First and foremost you need to upload all the website related files inside a single folder in Google Drive. Make sure this folder has the sharing settings set to public'.

How To Host Your Website On Google Drive?

You also need to have the URL of your website. For this, you should open the index.htm file in one of the website files you uploaded to Google Drive. Open this through the Google Doc Viewer and click on the 'Preview' button to  get the URL of your website.

How To Host Your Website On Google Drive?

Note: I suppose you already know this, but it is important to have the index.htm file as it will be served when a third party user tries to access your website's homepage. Make sure you didn't miss out the file while uploading.

Step 2: Using the Public Google Drive Website URL For Different Web Domain

You can also the Google Drive website under your own custom domain. This is very simple to achieve. All you need to do is to put the Google Drive website URL, that you obtained earlier, inside an IFRAME tag. You can see this below.

Code Snippet:

body { margin:0; padding:0; }
iframe { position: absolute; height: 100%; width: 100%; }
<title>Google Drive Website</title>
<iframe src="" frameborder="0"></iframe>

In order to see the website results in full screen window, don't forget to change the height and width attribute of the IFRAME tag to 100%. Also keep in mind that the URL will not change even you choose to open a different web page from the same website. This is because you are browsing inside an embedded page. 

You may like to read:



AdSense affiliate marketing Announcement AskHassam Blogger Blogging Tips Blogosphere News Bluehost Building Traffic BuySellAds Contest Customizations Disqus Tutorials Domain Hosting Drop Down Menus eBook Email Marketing Facebook Tutorials Feedburner Freelancing Giveaway Google Google Analytics Google Gmail Google Plus Tricks Guest Post HowTo Interview Making Money Online Monetization Motivation PayPal Pinterest Plugins review SEO Slideshare Social Media Top Lists Twitter Wordpress YouTube
BloggingeHow | Making Blogging Simpler: How To Host Your Website On Google Drive?
How To Host Your Website On Google Drive?
BloggingeHow | Making Blogging Simpler
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy