You can host a website for Free using Google Drive
28th July 2019
Before we start, you should have the following two items ready
- HTML, CSS, images and JS files
- A Google account
Let start to host a website for Free
Go to Google Drive and log in using your Google account.
Move your folder into the google drive. If you have your domain, name the folder as the domain name, else you can give a simple name.
Once done, you will see the folder appear on the left navigation. Right-click on the folder name and select Get shareable link.
Let copy the link.
Let open a new tab and type in drv.tw ( DriveToWeb host web sites using free cloud storage such as Google Drive and Microsoft OneDrive)
Select Via Googe Drive and sign in using your Google account
Select your account.
Once you see the following page, it means you have successfully host your website on Google Drive.
The URL in the highlight box is the URL to your website. It cannot be changed.
Copy and paste it to a browser and test it.
How to use your own domain instead of the one given by drv.tw
Let copy the URL provided
Login to your domain name provider
Click the domain you want to manage.
If you have an existing CNAME, just change the value with the URL you have copied earlier. For example if the URL is https://ptjmp8b6xwmygzg4jlm2pa-on.drv.tw/www.example.com/, removed the https:// and /www.example.com. You only need ptjmp8b6xwmygzg4jlm2pa-on.drv.tw
If not, just add a new CNAME
It may take up to 72 hours for your DNS settings to become active. After that, you will be able to access your content at your domain.
You can also check the DNS Propagation.
I hope you like this host a website for Free using Google Drive article and if you find this useful do share it with your friends on social.