0:00
Did you know you can use Google Drive to host basic websites or even complex JavaScript web apps
0:17
You may take advantage of Google Drive's free cloud storage to upload and publish any kind of static content
0:24
You can host HTML pages, CSS, JavaScript, icons, images, audio, video and podcasts
0:32
Here is the main reasons why you should do it. It's free. Save hundreds of dollars per year in web hosting
0:41
It's secure. No bandwidth limits. Your website will never be down. Google servers are very reliable
0:49
No FTP software needed. If you want to change something, just replace the file in your Google Drive folder
0:56
The disadvantages are. If your website was made with WordPress, Joomla, or PHP, this will not work for you
1:05
This is only for static websites. Google Drive URL structure cannot be changed
1:11
But no worries. There is a way to use your custom domain name. I'll show you in a moment
1:18
moment. In this video I will guide you step by step to host your website in Google Drive
1:24
Then I will show you how to assign it to your custom domain name
1:29
Let's start. I assume you already have your website files. First thing you need is an index.html file. This file will be served when someone tries
1:41
to access your website Next we drop the website folder in the Google Drive preferably in the root Now we have to make this folder public Right on the folder and select
1:57
Get shareable link. Before we continue further, make sure the folder name starts with www
2:17
Open a new tab in your browser and type drv.tw. Select Google Drive
2:30
Sign in with the email associated with the Google Drive account where you uploaded the website files
2:36
Click Allow. Now, your website is hosted in Google Drive. And this is the new URL to your website
2:45
If you want to use a different domain with your website, follow the steps
2:51
Copy the URL. Log in to your domain provider. I recommend purchasing your domain names from Namecheap.com
3:00
They have the best prices and amazing support. Select the domain you want to manage
3:11
Remove any name servers from your previous web hosting provider. Next, you have to add a new CNAME record
3:37
In the Host field type www In the value field paste the website URL you generated previously
3:56
Remove the HTTPS prefix. And remove all the text that comes after the drv.tw
4:10
In the TTL field, select 30 minutes
4:23
To allow your visitors to access your domain without www, you must add a new URL redirect record
4:40
In the value field, type http, followed by your domain name
4:54
The records should take up to 30 minutes to get accepted globally
4:58
However, since you just changed name servers, it can take up to 48 hours for your site to
5:04
be up again. You can track the progress of propagation with the help of this tools
5:10
What's myDNS.net To check your website before the propagation is complete, try this proxy tool which bypasses
5:19
DNS in local cache. Kayproxy.com When your DNS is successfully propagated, check the speed of your website
5:31
If your website is slower than it used to be you can take one more step to make it load faster Go to cloudflare and create an account
5:44
Add a new website. Type your domain name. Choose the free plan. It's free forever
6:14
Copy the value of CNAME record. Create a new TXT record, and in the name field, type www
6:25
In the value field paste the text you copied previously and type drvtw equals
6:38
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
7:09
Save it. Congratulations, your website is now online with no hosting costs
7:16
Work smart, not hard. Subscribe for more tips