Tuesday, 26 April 2016

Hosting websites in google drive

Hosting a website in google drive is very simple. Follow the steps.

  1. Create a folder in google drive.
  2. Make the folder as public.
  3. After entering the folder if u see in the url u can find an id at last of the url. for ex: In  https://drive.google.com/drive/folders/0BwIHwJQYZrFgR0JUcmlvRjBCaVE   the id is   0BwIHwJQYZrFgR0JUcmlvRjBCaVE. Make a note of it.
  4.  Now upload all your website files into the folder.
  5. Make sure that index.html file is present in the files u uploaded and that was the main file which loads.
  6. Now open a new tab in the browser and type http://googledrive.com/host/<id u noted earlier> for ex: http://googledrive.com/host/0BwIHwJQYZrFgR0JUcmlvRjBCaVE 
  7. After that it will redirect to a new url which was ur website url for ex: https://d5c456f7c2a8a27e7fe67bd661d0f845de161c02.googledrive.com/host/0BwIHwJQYZrFgR0JUcmlvRjBCaVE/
  8. Enjoy hosting.....For any queries please feel free to comment will reply in 24hrs


No comments:

Post a Comment