Use Google Drive As Content Delivery Network(CDN) For Your Website

SHARE:

After Google introduced Google Drive Site Publishing Feature, you can upload some static files like CSS, JavaScript, or Images to Google Drive.

After Google introduced Google Drive Site Publishing Feature, you can upload some static files like CSS, JavaScript, or Images to Google Drive and then use Google Drive as a kind of a free CDN (Content Delivery Network) for your website.

Rather than host your website's files on a single web server, you can distribute the website's static files and load across multiple server. This definitely will reduce the load of your server and greatly improve your page speed because the Google server has a lot more resources and respectable response times than typical shared hosting.

Actually when you follow this tutorial: How to Host JavaScript or CSS Files on Google Drive, the Google Drive already acts as a CDN for your website. But if you prefer shorter URL, something like http://cdn.domain.com/path/image.jpg or http://static.domain.com/path/style.css you can always create a sub-domain and redirect it to the "Public" folder on the Google Drive.

Please follow the steps below to create a free CDN using Google Drive: 
Step 1: 
Create a New folder in Google Drive > Change the visibility settings to "Public on the web" > Upload some static web files > Get the folder id from the browser's address bar > And you can access your public folder at http://googledrive.com/host/folder-id

Or just watch this video, all steps are the same. The only difference is in the end you will get a list of files instead of a website.

Step 2:
Log in to your domain control panel (e.g.Namecheap) > Domain > Manage Domain >Select the  domain name > All Host Records >Create a new sub-domain > Click Save

Host Name: static
IP Address/URL: http://googledrive.com/host/folder-id
Record Type: URL Redirect
TTL: 1800

Now you can use a URL like this http://static.domain.com/path/image.jpg to link your static website files. If you found this article helpful, then please share it with someone else by using the buttons below. Thank you!

COMMENTS

Name

AI,4,AMD,1,Android,8,Apple,2,Automobile,1,Bitcoin,2,Blogger,7,Bloging,4,Breakthrough,1,Camera,1,Computer,9,CPU,1,Cryptocurrency,1,CuttingEgde,2,CyberSecurity,5,Download,1,Editing,1,Gaming,44,Giveaway,4,Guide,1,Hacking,3,Hacking News,4,Hardware,18,How To,12,i,4,iOS & Mac,9,iPhone,8,Laptop,1,Leak,6,Malwares,1,Marketing,2,Mobile,46,News,5,Notebook,2,Programming,14,Robotics,2,Rumor,5,Science,1,Security,14,SEO,2,Social Media,5,Software,14,Tablet,1,Technology,42,Weapon,1,Web,11,Website,1,Windows,1,
ltr
item
TechFonder: Use Google Drive As Content Delivery Network(CDN) For Your Website
Use Google Drive As Content Delivery Network(CDN) For Your Website
After Google introduced Google Drive Site Publishing Feature, you can upload some static files like CSS, JavaScript, or Images to Google Drive.
https://3.bp.blogspot.com/-KFG_9lLSRAk/WCdnBJ7PJzI/AAAAAAAAA5Y/MvR-tU6zLGoFRfHHDk6lqfGBroQCU5aBgCLcB/s1600/textgram_1478976886.jpg
https://3.bp.blogspot.com/-KFG_9lLSRAk/WCdnBJ7PJzI/AAAAAAAAA5Y/MvR-tU6zLGoFRfHHDk6lqfGBroQCU5aBgCLcB/s72-c/textgram_1478976886.jpg
TechFonder
http://www.techfonder.com/2016/11/use-google-drive-as-content-delivery_12.html
http://www.techfonder.com/
http://www.techfonder.com/
http://www.techfonder.com/2016/11/use-google-drive-as-content-delivery_12.html
true
4189235006833635040
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy