How to Host A Website On Google Drive for free_2022

Here are the main reasons why you should do it:

  • It’s Totally free.
  • Save hundreds of dollars per year in web hosting.
  • It’s very secure.
  • No bandwidth limits.
  • Your website will never be down in any way.
  • Google servers are very reliable.
  • No FTP software needed.
  • If you want to change something just replace the file in your Google Drive folder.

The disadvantages are:

  • If your website was made with Word Press, Joomla or PHP this will not work for you.
  • This is only for static websites.
  • Google drive URL structure cannot be changed.

But no worries. There is a way to use your custom domain name. I’ll show you in a moment In this post. I will guide you step by step to host your website in Google drive for free 2022. Then I’ll show you how to assign it to your custom domain name.

Let’s start. I assume you already have your website files. First thing is, you need an index.html file. This file will be served when someone tries to access your website.

host website on google drive 2020 Index.html file

Next. We drop the website folder in the Google drive, preferably in the root.

host website on google drive 2020 Drop The File in Google drive

Now we have to make this folder public. Right-click on the folder and select, Get shareable link.

host website on google drive 2020

Before we continue further to make sure the folder name starts with WWW.

host website on google drive 2020

Open a new tab in your browser and type, drv.tw.

host website on google drive 2020

select Google drive.

host website on google drive 2020

Sign in with the email associated with the Google Drive account where you uploaded the website files.

host website on google drive 2020

Click allow

host website on google drive 2020

Now your web site is hosted in Google drive for free 2020. And this is the new URL to your website.

host website on google drive 2020

If you want to use a different domain with your website follow the steps:

  • Copy the URL, log in to your domain provider, (I recommend purchasing your domain names from namecheap.com. They have the best prices and amazing support.)
  • Select the domain you want to manage.
  • Remove any name servers from your previous Webhosting provider.
  • Next, you have to add a new c-name record.
  • In the host field type www.
  • In the value field, paste the website URL you generated previously.
  • Remove the HTTPS prefix.
  • And remove all the text that comes after the DRV.TW.
  • In the TTL field select 30 minutes.
  • To allow your visitors to access your domain without WWW you must add a new URL redirect record.
  • In the value field type HTTP followed by your domain name.

The records should take up to 30 minutes to get accepted globally. However, since you just changed name servers. It can take up to 48 hours for your site to be up again. You can track the progress of propagation with the help of these tools. whatsmydns.net, to check your website before the propagation is complete this proxy tool which bypasses DNS and local cache. Kproxy.com. when you’re DNS successfully propagated check the speed of your website. If your website is slower than it used to be.

You can take one more step to make it load faster.

  • Go to cloudflare.com and create an account.
  • Add a new website.
  • Type your domain name.
  • Choose the free plan (it’s free forever).
  • Copy the value of the c-name record.
  • Create a new text record and in the name field type WWE.
  • In the value, field pastes the text you copied previously.
  • And type DRVTW equals.
  • Save it.
  • And click add record.
  • Copy the DNS values and go back to your domain provider and paste it in the name server fields.
  • Save it.

Congratulations!! Your website is now online with no hosting costs.

Thanks for reading this post. If you have any queries, put that on the comment box and Subscribe Techfoorti.com for updates.

All of the steps clearly explained in this video:

Enjoyed this article? Stay informed by joining our newsletter!

Comments

You must be logged in to post a comment.

About Author

Tech Foorti is the first largest tech company that helps people to earn money by just writing articles.