OthersTricks

How to host website on google drive

how to host website on google drive

how to Host Website On Google Drive 2020 :-

Everyone knows that Google is a file storage service developed by Google, launched on april 24, 2012. google drive allows to store files on Google Drive in secured manner.

Host Website On Google Drive with custom domain:-

do you know we can host website on google drive 2020?
Yes! We can host a website on Google Drive with a custom domain, we can also use ssl with it, that means we can host a completely secure website with Google Drive.

But the only condition is that we can only host static web pages Like html css etc. We cannot host a dynamic website such as php and cms.

Steps to host website on google drive :-

  • Create a new Google Account (Do not use a personal Google Account).
  • Open https://Drive.google.com and create folder with name of your website.
    like “HostToWeb” etc.
  • Now open the folder you created on Google Drive, upload your website which should have index.html page.
  • Then make that folder public and get a shareable link.
  • Open https://drv.tw and select first one “Host On Google Drive”.
  • This will generate a shareable web page with a link.
  • If you want to configure a custom domain then add a new DNS CNAME record and set the target as the web page link that we generated.
  • That’s it, enjoy! You have successfully hosted the website on Google Drive.
  • Configure Cloudflare on Domain for Free SSL.

Let’s see in detail how to host a website on Google Drive:-

1. Create a new Google Account

Create a new Google Account

2. Open https://Drive.google.com and create folder with name of your website and paste all files which should have index.html page.

create folder name of your website

3. Then make that folder public and get a shareable link.

get a shareable link.

4. Open https://drv.tw and select first one “Host On Google Drive”.

 "Host On Google Drive".

5. This will generate a shareable web page with a link.

shareable web page with a link.

That’s it, enjoy! You have successfully hosted the website on Google Drive. if you want to configure custom domain then,

  • Log on to your domain Provider.
  • Go to DNS Management.
  • Add new CNAME record, taget as link which we are generating from “drv.tw”.
  • Add new TXT record, write following “text” in text field

               DRVTW=(link which we are generating from “drv.tw”.)

  • SetUp Cloudflare for Domain for Free SSL.

I hope this trick of “How to host website on google drive 2020”
will be helpful to all of you. Feel free to comment below if you are facing any problem.

Comment here