26 Sept 2020

Host any website on Google Drive for totally free

Host any website on Google Drive for totally free.

 


Yes, you heard right. Google Drive is offering unlimited free website hosting. Here are a few points to know before hosting your website.

 

Pros

v Your website will always be super-fast.

v There will never be downtime.

v You can host unlimited website.

v You can earn money through your website. Like AdSense or other ads.

v And most importantly it’s totally free.

 

Cons

v It's only support HTML static website. (HTML, CSS, JAVASCRIPT)

v You can’t host any PHP script like Wordpress ETC.

v Setup little bit tricky.


Now you know the pros and cons. Now if you want to host a website in Google Drive. Then find out how to do it.

 

v Login in to your Google drive account.

v Open your Google drive root folder.

v Create a folder, and folder name should be your website name. Example my website name is “example.com” and Google Drive folder name must be ‘’ www.example.com ‘’.

v Now, you upload the file of your static website in this folder.

v Now this folder needs to be public viewed. How to do? Just right-click on Google drive your website folder, and then click the Get link option. Now select anyone with link.

v  Open the https://drv.tw/ .

v Click Host on Google drive.

v Choose your account.

v Accept all necessary permission.

v Now you can see your website here. (You must have index.html in your website folder. Without index.html website will not work)

v Your website will be look like https://41gfdc76kfghtd04dqndww-on.drv.tw/www.example.com/

v Copy your website link, its look like https://41gfdc76kfghtd04dqndww-on.drv.tw/www.example.com/

v You need copy only that portion “41gfdc76kfghtd04dqndww-on.drv.tw”.

v Now it is the time to link the website with the domain.

v Go to domain provider's dashboard.

v Click on ‘’use default name server’’.

v Delete all DNS record, and add a new record.

v Add a new CNAME record, with name box ‘’ www ‘’ and target box you already copy that portion paste it here. Look like ‘‘41gfdc76kfghtd04dqndww-on.drv.tw’’

v Add another A record with name box ‘’ @ ‘’ and target box paste you already copied, look like ‘‘41gfdc76kfghtd04dqndww-on.drv.tw’’. Save it.

Wait for up to 20 minutes. That’s it your website is now live.


No comments:

Post a Comment