How to Host Website on Google Drive
Tags: hosting, beginners, webdev
Published: 2021-11-12 17:32:34

Today I am going to teach you how to host website on google drive with custom free domain with free SSL certificates .We all know that google drive is one of the most popular content storage system in web, where we can upload our documents with no hassle.

<p style="text-align: justify;"><span style="font-size: medium; font-weight: normal;">There are few steps that you have to follow that you have to apply before host a website on google drive:</span></p><div style="text-align: justify;"><span style="font-size: medium;"><span>1)</span><span> </span><span><span>First of all, you have to create a new folder and name the folder like your website name. In</span><span>&nbsp;my case, the website name is (</span><b><a href="https://www.gocodergo.tk"><span style="color: #274e13;">www.gocodergo.tk</span></a></b><span>). Now you have to create your HTML file and name your HTML file named as&nbsp;</span><b>index.html.</b><span>&nbsp;After you have made your HTML file, paste your file in your given folder and upload this folder in google drive, as you can see in the image</span></span></span></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-nMknIWsMePU/YE8-jeLlnZI/AAAAAAAAAHs/wEWfsqevar0BZfjJDtlOf8fRduPOBsYlACLcBGAsYHQ/s765/1.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="424" data-original-width="765" src="https://1.bp.blogspot.com/-nMknIWsMePU/YE8-jeLlnZI/AAAAAAAAAHs/wEWfsqevar0BZfjJDtlOf8fRduPOBsYlACLcBGAsYHQ/s16000/1.jpg" /></a></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: medium;"><br /></span></div><span style="font-size: medium;"><div style="text-align: justify;"><br /></div><div style="text-align: justify;">2) After you have uploaded your folder now to have to public your folder as we have listed below:</div></span><div style="text-align: justify;"><span style="font-size: medium;"><b>Right-click</b> on your folder you can see an option to&nbsp;<b>get a link. Click</b>&nbsp;on the get link. You can see this type of interface as image shown below:</span></div><div style="text-align: justify;"><span style="font-size: medium;"><br /></span></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-ucp_RpKtVME/YE9AVUa5p4I/AAAAAAAAAH0/3schQDzicoMmDatkXdmMQj_ZBqUZsJLLwCLcBGAsYHQ/s973/2.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="585" data-original-width="973" height="384" src="https://1.bp.blogspot.com/-ucp_RpKtVME/YE9AVUa5p4I/AAAAAAAAAH0/3schQDzicoMmDatkXdmMQj_ZBqUZsJLLwCLcBGAsYHQ/w640-h384/2.jpg" width="640" /></a></div><br /><div style="text-align: justify;"><span style="font-size: medium;">Here you have to select <b>anyone with this link. Now</b>&nbsp;click on done. After that, your link will be publicly shown to anyone.&nbsp;</span></div><div><span style="font-size: large;"><br /></span></div><div><span style="font-size: medium;">3) Now you have to go to the website <b><a href="https://drv.tw/" target="_blank"><span style="color: #38761d;">Drive to web</span></a></b></span></div><div><span style="font-size: medium;"><br /></span></div><div style="text-align: justify;"><span style="font-size: medium;">Here on this website, you have to host your website using google drive here, click on the&nbsp;<b>host on google drive,&nbsp;</b>and log in with the same account. You have to give permission after that, you have to click you will automatically redirect on servers account panel like in this image given below:</span></div><div><b><br /></b></div><div><b>&nbsp;<div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-XekpD_dPcnI/YE9D2cVXQBI/AAAAAAAAAH8/0xS8uFmI3hkXmMkHVC4V3-CF6bOK20jwACLcBGAsYHQ/s1117/4.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="837" data-original-width="1117" height="480" src="https://1.bp.blogspot.com/-XekpD_dPcnI/YE9D2cVXQBI/AAAAAAAAAH8/0xS8uFmI3hkXmMkHVC4V3-CF6bOK20jwACLcBGAsYHQ/w640-h480/4.jpg" width="640" /></a></div><br /></b></div><div><b><br /></b></div><div><span style="font-size: medium;">4) When you click on the link, it will host your site, but you can see that you do not have a custom domain as you can see this in the image: like&nbsp;<b>random-name/www.your folder name. tk/</b></span></div><div><b><br /></b></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-XlarMCZAJ_Y/YE9EoMCtyfI/AAAAAAAAAIE/fjY9sjiwrowV6FNFxRxLoJLDTRyYoZCTQCLcBGAsYHQ/s1077/5.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="253" data-original-width="1077" height="150" src="https://1.bp.blogspot.com/-XlarMCZAJ_Y/YE9EoMCtyfI/AAAAAAAAAIE/fjY9sjiwrowV6FNFxRxLoJLDTRyYoZCTQCLcBGAsYHQ/w640-h150/5.jpg" width="640" /></a></div></div><div style="text-align: justify;"><br /></div><div style="text-align: justify;"><div><span style="font-size: medium;">5) As we can see that we have hosted your website, but now we can add the free custom domain name</span></div><div><span style="font-size: medium;"><br /></span></div></div><div style="text-align: justify;"><span style="font-size: medium;">First, you must register with <u><a href="https://www.freenom.com/en/index.html?lang=en" target="_blank"><b><span style="color: #660000;">Freenom.com</span></b></a></u> to get a .tk domain for free. This site also allows you to have other free domains such as .ml, .ck, etc.</span></div><div><span style="font-size: medium;"><br /></span></div><div style="text-align: justify;"><span style="font-size: medium;">6) Now, you can find the domain as you want. In my case, the domain name was <b><a href="https://www.gocodergo.tk"><span style="color: #274e13;">www.gocodergo.tk</span></a>. As</b>&nbsp;I have searched, this type of domain is&nbsp;available, so I will buy this domain for 1 year, as you can see in the image:</span></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-sGRH2YbD-hc/YE9IfSHz5BI/AAAAAAAAAIM/3d2lsfgSdFY2X7KvAwFBxlyxwrjLt7xrQCLcBGAsYHQ/s1711/12.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="718" data-original-width="1711" height="268" src="https://1.bp.blogspot.com/-sGRH2YbD-hc/YE9IfSHz5BI/AAAAAAAAAIM/3d2lsfgSdFY2X7KvAwFBxlyxwrjLt7xrQCLcBGAsYHQ/w640-h268/12.jpg" width="640" /></a></div><br /><div><br /></div><div><span style="font-size: medium;"><br /></span></div><div><span style="font-size: medium;">7) If you have bought your domain name, then you can see this type of typo interface&nbsp;</span></div><div><span style="font-size: medium;"><br /></span></div><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-LLLoODbmpks/YE9KYfLJM2I/AAAAAAAAAIU/aj5W05JjIOs6ZVRQlbsoriYeh_liSWCdwCLcBGAsYHQ/s1777/13.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="268" data-original-width="1777" height="96" src="https://1.bp.blogspot.com/-LLLoODbmpks/YE9KYfLJM2I/AAAAAAAAAIU/aj5W05JjIOs6ZVRQlbsoriYeh_liSWCdwCLcBGAsYHQ/w640-h96/13.jpg" width="640" /></a></div><br /><div><span style="font-size: medium;">8) Now, you can go to the manage DNS section and add the name as listed below:</span></div><div><span style="font-size: medium;"><br /></span></div><div style="text-align: justify;"><span style="font-size: medium;">how to add a name first of going to manage DNS and then select cname in the manage DNS section after that you have to fill <b>target</b>&nbsp;<b>column of your link as given bold but your link you have to add&nbsp;</b></span></div><div><span style="font-size: medium;"><br /></span></div><div><span style="font-size: medium;">https://<b>lzfdfj8ryhtzcrap3bmxqq-on.drv.tw</b>/www.yourdomainname.domainlevel/</span></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-U1Ibfrg_ryc/YE9MJkl370I/AAAAAAAAAIc/pAHvsK086ZE1gutypbIC0f-SkDwrQq5RgCLcBGAsYHQ/s1894/16.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="643" data-original-width="1894" height="218" src="https://1.bp.blogspot.com/-U1Ibfrg_ryc/YE9MJkl370I/AAAAAAAAAIc/pAHvsK086ZE1gutypbIC0f-SkDwrQq5RgCLcBGAsYHQ/w640-h218/16.jpg" width="640" /></a></div><br /><div><br /></div><div style="text-align: justify;"><span style="font-size: medium;">9) Now, you have to wait for <b>half an hour to Update DNS,<R/b> and then your website is hosted with the custom domain name. as you can see in my case in the image given below (www.gocdergo.tk)</span></div><div><br /></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-ySDMeyvvFbA/YFHNIRwaNaI/AAAAAAAAAJE/n0Z3JG7L8BIrM6ytov8cY1PNHup84nnKQCLcBGAsYHQ/s1321/18.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="204" data-original-width="1321" src="https://1.bp.blogspot.com/-ySDMeyvvFbA/YFHNIRwaNaI/AAAAAAAAAJE/n0Z3JG7L8BIrM6ytov8cY1PNHup84nnKQCLcBGAsYHQ/s16000/18.jpg" /></a></div><div><br /></div>

<div class="postRelated">
  <b>Read Also:</b>
  <ul>
    <li><a href="https://www.blogtriggers.com/2021/03/host-a-website-in-infinityfree-hosting-for-free.html">Host website in infinity free hosting</a></li>
  </ul>
</div>
<br>
<div style="text-align: justify;"><span style="font-size: medium;">10) Now, you can see that your website is ready, but their problem is that the SSL certificate and your site are also not secure; for that, you have to use <span style="color: #6aa84f;"><a href="https://www.cloudflare.com" target="_blank"><b>Cloudflare</b></a>.</span>&nbsp;</span></div><div style="text-align: justify;"><span style="font-size: medium;"><br /></span></div><div style="text-align: justify;"><span style="font-size: medium;"><b>Cloudflare can protect your website from DDoS attacks</b>. And watch your website from all types of attacks. Now we use Cloudflare to protect our website and also for SSL certificates.</span></div><div style="text-align: justify;"><span style="font-size: medium;"><br /></span></div><div style="text-align: justify;"><span style="font-size: medium;">First of all, signup for Cloudflare or account on Cloudflare, so log in. after signup or login, add your website domain name in Cloudflare. Now you have to set your DNS in your Cloudflare account. as shown in the given image</span></div><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-6EwCnfetjI4/YFHOji-NwvI/AAAAAAAAAJM/ssuoJlJO-pwf86v64wnnN-vdsLwmsGrvgCLcBGAsYHQ/s811/19.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="355" data-original-width="811" src="https://1.bp.blogspot.com/-6EwCnfetjI4/YFHOji-NwvI/AAAAAAAAAJM/ssuoJlJO-pwf86v64wnnN-vdsLwmsGrvgCLcBGAsYHQ/s16000/19.jpg" /></a></div><div style="text-align: left;"><span style="font-size: medium;">After adding your site now you have to checkout for a plan here in this, you can see <b>free plan </b>at the bottom after that you have can see this image in the given below, and in this, you have to add a record with<b> text </b>and write the <b>name www&nbsp;</b>then you have to fill the content like the&nbsp;</span><span style="font-size: medium;">URL</span></div><div style="text-align: left;"><span style="font-size: medium;"><span>https://</span><b><mark>lzfdfj8ryhtzcrap3bmxqqon</mark>.drv.tw</b><span>/www.gocodergo.tk/</span></span><span style="font-size: large;"> </span><span style="font-size: medium;">of this part. Still, you have to write only this part of the URL name and then click continue.</span></div><div><br /></div><div><br /></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-bnMhQAnjy_c/YFHPoxhhQmI/AAAAAAAAAJQ/CZ_UdvgwaIYu3Nvp4T3jnnfoEvRQCG6AwCLcBGAsYHQ/s1495/20.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="685" data-original-width="1495" src="https://1.bp.blogspot.com/-bnMhQAnjy_c/YFHPoxhhQmI/AAAAAAAAAJQ/CZ_UdvgwaIYu3Nvp4T3jnnfoEvRQCG6AwCLcBGAsYHQ/s16000/20.jpg" /></a></div><span><div style="font-size: x-large; text-align: justify;"><br /></div><div style="text-align: justify;"><span style="font-size: medium;">After that, you have to change the nameservers and replace your nameservers with Cloudflare 2 nameservers.&nbsp;</span></div><div style="text-align: justify;"><span style="font-size: medium;"><br /></span></div></span></div><div style="text-align: justify;"><span style="font-size: medium;">After changing the nameservers, you have to wait for 24 hrs, and your site is ready to protect from <b>DDoS attacks. You</b>&nbsp;have also seen your site have an <b>SSL certificate</b> for one year after that, you have to renew both the SSL certificate also and the domain also as you can show in the below images:</span></div><div><span style="font-size: medium;"><br /></span></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-LezO8xJMUS4/YFH2TC-nNHI/AAAAAAAAAJc/EhXZYSCY2P0S8yr_0Ia6Hnvy40wzQGGmQCLcBGAsYHQ/s1032/Screenshot%2B2021-03-17%2B175935.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="258" data-original-width="1032" src="https://1.bp.blogspot.com/-LezO8xJMUS4/YFH2TC-nNHI/AAAAAAAAAJc/EhXZYSCY2P0S8yr_0Ia6Hnvy40wzQGGmQCLcBGAsYHQ/s16000/Screenshot%2B2021-03-17%2B175935.jpg" /></a></div></div>

<h2>Conclusion</h2>

I hope you Like our Post on <a href="https://www.blogtriggers.com/2021/03/how-to-host-website-in-google-drive.html">host website on google drive</a>. If you Find Any Queries regarding Host website on google drive then comment us we will solve your all queries below.