Hosting a website in google drive is very simple. Follow the steps.
- Create a folder in google drive.
- Make the folder as public.
- 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.
- Now upload all your website files into the folder.
- Make sure that index.html file is present in the files u uploaded and that was the main file which loads.
- 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
- After that it will redirect to a new url which was ur website url for ex: https://d5c456f7c2a8a27e7fe67bd661d0f845de161c02.googledrive.com/host/0BwIHwJQYZrFgR0JUcmlvRjBCaVE/
- Enjoy hosting.....For any queries please feel free to comment will reply in 24hrs
No comments:
Post a Comment