How To Host a Website for Free Using Google Drive in 2021

Hosting website is one of the most difficult and expensive things to do. I wanted to show you how to host website using Google Drive for free in 2021.
Google Drive hosting is the best hosting for beginners because it's affordable, you have the control panel, and you can easily pick it up. It allows you to create your website so that you can quickly transfer files in and out. After the entire process of creating your site, you will have a professional-looking site with optimized scripts.

Today we will learn how to host a website on google drive for free with the custom domain name. If you are looking for an alternative way to host a website on the internet, then you are at the right place. Here I’m sharing some extraordinary steps to easily host your website's files on google drive with the free domain name.

Whether you are looking for a simple and easy way to test out your new concept, or are looking to replace your current hosting service with a simple and attractive solution, this guide will show you how to host a website using the Google Drive service. 

In just 10 steps from this tutorial, you’ll be able to set up web hosting in Google Drive and run a fully functional website from any computer with an internet connection.

How to host a website on google drive with custom domain name

How to host a website on google drive for free with a custom domain?

There are few steps that you have to follow that you have to apply:

1) First of all, you have to create a new folder and name the folder like your website name. In my case, the website name is (www.gocodergo.tk). Now you have to create your HTML file and name your HTML file named as index.html. After you have made your HTML file, paste your file in your given folder and upload this folder in google drive, as you can see in the image



2) After you have uploaded your folder now to have to public your folder as we have listed below:
Right-click on your folder you can see an option to get a link. Click on the get link. You can see this type of interface as image shown below:



Here you have to select anyone with this link. Now click on done. After that, your link will be publicly shown to anyone. 

3) Now you have to go to the website Drive to web

Here on this website, you have to host your website using google drive here, click on the host on google drive, and log in with the same account. You have to give permission after that, you have to click you will automatically redirect on servers account panel like in this image given below:

 


4) When you click on the link, it will host your site, but you can see that you do not have a custom domain as you can see this in the image: like random-name/www.your folder name. tk/


5) As we can see that we have hosted your website, but now we can add the free custom domain name

First, you must register with Freenom.com to get a .tk domain for free. This site also allows you to have other free domains such as .ml, .ck, etc.

6) Now, you can find the domain as you want. In my case, the domain name was www.gocodergo.tk. As I have searched, this type of domain is available, so I will buy this domain for 1 year, as you can see in the image:




7) If you have bought your domain name, then you can see this type of typo interface 


8) Now, you can go to the manage DNS section and add the name as listed below:

how to add a name first of going to manage DNS and then select cname in the manage DNS section after that you have to fill target column of your link as given bold but your link you have to add 

https://lzfdfj8ryhtzcrap3bmxqq-on.drv.tw/www.yourdomainname.domainlevel/



9) Now, you have to wait for half an hour to Update DNS, and then your website is hosted with the custom domain name. as you can see in my case in the image given below (www.gocdergo.tk)



10) Now, you can see that your website is ready, but their problem is that the SSL certificate and your site are also not secure; for that, you have to use Cloudflare. 

Cloudflare can protect your website from DDoS attacks. And watch your website from all types of attacks. Now we use Cloudflare to protect our website and also for SSL certificates.

First of all, signup for Cloudflare or account on Cloudflare, so log in. after signup or login, add your website domain name in Cloudflare. Now you have to set your DNS in your Cloudflare account. as shown in the given image
After adding your site now you have to checkout for a plan here in this, you can see free plan at the bottom after that you have can see this image in the given below, and in this, you have to add a record with text and write the name www then you have to fill the content like the URL
https://lzfdfj8ryhtzcrap3bmxqqon.drv.tw/www.gocodergo.tk/ of this part. Still, you have to write only this part of the URL name and then click continue.



After that, you have to change the nameservers and replace your nameservers with Cloudflare 2 nameservers. 

After changing the nameservers, you have to wait for 24 hrs, and your site is ready to protect from DDoS attacks. You have also seen your site have an SSL certificate for one year after that, you have to renew both the SSL certificate also and the domain also as you can show in the below images:

How to update website content in google drive hosting?

In Google Drive, you have to Open a File where you have to add something to the website. Just Open a File in VScode and do changes in the file so you will also see the website will also change.

Benefits of Host a website on google drive

  1. Host all your files for free, and collaborate with colleagues.
  2. There is no need to rent a server or buy an expensive hosting plan. You can get started right away for free and share your website with anyone
  3. Save your time and money. All you need to do is upload files to your google drive and create a video. In a few minutes, you have a site that can be accessed by anywhere around the world.
  4. You can have your own URL to share files and folders easily, and rest assured that you will never lose your data.
  5. You will be able to create a website for your portfolio, blog, or online business with basic knowledge of HTML & CSS.
  6. You will get easily AdSense approval on the static website like tools blogs etc...

Limitations of Host a website on google drive

  1. You can't use Google Drive as a dynamic website because it's meant to host static websites only.
  2. One limitation of Google Drive is that it will not accept uploads if the file exceeds 10 GB. So if you're trying to host your website besides your business documents, you might run into this problem.
  3. Google Drive only permits a particular amount of traffic to make sure that other people have sufficient bandwidth.
  4. Google Drive only allows you to host websites that are 2048 MB or smaller.
  5. There are some limitations on what you can store on Google Drive. Some of the files have specific file types that aren't supported, like .exe and .dll files.

Tips on host a website on google drive for free

1) Hosting a website on Google Drive and using the 'Web App Mode' feature is a good way to improve your own speed on the open web. It also offers loads of free features which you can use to make your site look nice and professional.

2) For a long time I have been contemplating hosting one of my personal websites on google drive and the other day I decided to put this idea into practice. It should be mentioned at this point that hosting your website on google drive provides you with an ad-free platform, full access to the source code, and runs the site on a high multi-core machine for optimal speed.

3) Using google drive hosting allows you to reduce the expenses required to host an online show, blog, website, or even a standard WordPress blog. Google Drive is easy to use and provides the same functionality that any other hosting provider does. Uploading your content is easy and can be done both from a PC as well as mobile devices (I've tested it with my Samsung Galaxy S4).

Final Words

If you're on a low budget and don't want to pay for web hosting, Google Drive is the best hosting as a Beginners. I was always forced to pay for web hosting, which is far too expensive, which prevented many people from starting their blogs. However, now I can host my entire website on Google Drive, allowing me to start my own blog.

If you think our posts are so useful, then do not forget to share them with your family, friends, and others. 

Thank you for visiting our website🤗

If you Find any Queries Regarding Hosting, Blogging, SEO then contact us on Telegram group chat

Link to Telegram Group: BlogTriggers Discussion Group