In this article we will know to deploy a static website freely using Google Drive. We will also know that how can we get a custom domain in free as well as we will secure our website with SSL certificate using cloudflare service genuinely and absolutely free.Everything will be free server, custom domain, ssl etc.
| Free Hosting Free Domain Free Domain IndianTechnoEra |
Keep ready following things...
A new Gmail account
A statice developed website with all elements as well as including index.html
How to deploy website using Google Drive
Create a new gmail
Login google drive with your created gmail
Create a folder with your website name like www.mywebsite.com
Drag or copy your all website elements including index etc. in created folder
Make public of created folder then you will get a link of that folder
Then goto DriveToWeb website drv.tw
Note: DriveToWeb is a serverless web hosting service provider that use google drive and oneDrive. Here we will go with Google Drive
Then choose Host on Google Drive
Then login the same gmail
Allow to the DriveToWeb
Then you will get your generate website like that can be very lengthy
Now anyone can access your site using this generate like
Now you can set your custom website name
Now we will see to get free domain
How to Buy Domain Name in Free
Go to freenom.com
Login with your the same Gmail (you can choose different one also)
After login go to Services > Register a New Domain
Search your domain name and check availability
Choose your domain
Checkout ( Don't worry you will not to be pay)
Simply set the use time period of use
Click on Continue
Complete order
After complete the domain register
Goto Services > My Domains
[ Now we are setting to redirect our generate website link with our custom domain]
Click on Manage Domain of your prefered custom domain
Goto Manage Tools > Nameservers
Choose use default nameservers (Freenom Nameservers)
Click on Change Nameservers
Goto Manage Freenom DNS
Now we will point our website so we need to create new record
Click on More Records
Set the parameter as following
Name: www
Type: CNAME
TTL: 3600
Target: your_generate_website_link.on.drv.tw
Then click on save Changes
Wait for update
Then finally you will get your website with your custom domain
Now we will see how can web secure with SSL certificate free
How to secure website with SSL certificate in free
Goto cloudflare.com
Create account and login
Click on Add a Site
Then click on added site
Then setting two things
1. Goto DNS to set DNS
If you get your CNAME then its file otherwise
Click on Add record and record two record
1st record
Type: CNAME
Name: www
Target: your_generate_website_link.on.drv.tw
TTL: Auto
Then click on Save Add one more record
2nd record
Type: TXT
Name: www
TTL: Auto
Content: DRVTW=your_generate_website_link.on.drv.tw
Now to see the changes we need to set the nameserver of SSL provider with domain service provider
So got your domain service provider
Here we are using free custom domain of freenom.com website
Then again go to freenom.com
Login your same id
Go to Services > My Domains
Here you will get your all ordered domain list
Click on Manage Domain of prefered domain
Go to Management Tools > Nameservers
Then choose use custom nameserver (enter below)
Then paste all liste Cloudflare nameserver into use custom nameserver (enter below) one by one
like the cloudflare nameservers can be
henry.ns.cloudflare.com
tess.ns.cloudflare.com
then copy one by one these type of nameservers of SSL service provider of cloudflare
and paste into use custom nameserver (enter below) in Manage Domain Nameservers of domain provider like freenom
After that click on change nameservers