How To Host Your Websites On Google Drive

Hello friends many of want to build a website. we also created it but there is problem of hosting of website there are many hosting service provider but they charge money but there is method to host your website on Google Drive A simple and efficient way to host websites can be Google Drive. With its free storage space of up to 15 GB, you can host a fairly large website without any cost.


How To Host Your Websites On Google Drive: cpuworms


Google Drive can be used to host basic websites or even complex JavaScript-based web apps. You may publish any kind of static content on your website including HTML pages, images, CSS, icons, audio, video etc.
Note: However, Google Drive does not support web resources that make use of server-side scripting languages like PHP.
  1. Create a public file folder.
  2. Put your website i.e.the HTML, CSS, Javascript files inside it.
  3. Open the HTML file and preview it.
  4. Share the URL that looks like "www.googledrive.com/host/..." from the preview window.


To create a public folder:  For this, you simply need to go to folders, create a new folder, and rename it to whatever name you want. Following which, you select the check-box next to the New folder. Click the "Sharing settings" icon. Then click "Change" and make your folder "Public on the web"






To put files in the public folder: Click on your New folder’s title. The new folder is empty as of now.  Click on “Upload Files" icon. Select the index.html or other files from you hard-Drive and then click on upload.



If you do not start with an “index.html” file, then the site visitors will not see a website. Instead they will get a directory listing of all the folders in the website. So be sure to include it.
Opening and previewing HTML file: Click on the index.html page. Drive will open the file. Click on the "Open" button at the lower right corner of the screen.Then select preview.
Sharing the URL: Now that you have your URL, simply share with all your friends
To Stay updated  With us like our page on Facebook  


Comments

Popular Posts