# How To Host A WebPage On Google Drive

**URL:** <https://onehack.st/t/how-to-host-a-webpage-on-google-drive/215001>\
**Category:** Tutorials & Methods\
**Tags:** tips-tricks, hosting\
**Created:** [February 22, 2022, 8:02am UTC](https://onehack.st/t/how-to-host-a-webpage-on-google-drive/215001 "2022-02-22T08:02:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WhiteHat](https://onehack.st/user_avatar/onehack.st/whitehat/32/162514_2.png) [@WhiteHat](https://onehack.st/u/WhiteHat)\
**Post date:** [February 22, 2022, 8:02am UTC](https://onehack.st/t/how-to-host-a-webpage-on-google-drive/215001/1 "2022-02-22T08:02:00Z")

</div>

To host a web page on Google Drive:

1. Create a folder in Google Drive and set the sharing permission to “Public on the Web.”

2. Upload the HTML, JavaScript and CSS files for your web page to the new folder.

3. Select the HTML file, open it and click the “Preview” button in the toolbar.

4. Share the URL (it will look like [www.googledrive.com/host/…](http://www.googledrive.com/host/%E2%80%A6)) and anyone can view your web page!

**Enjoy!**
