Page 1 of 1

How to Host webpages(html),css,js on Google Drive

PostPosted: Fri Jul 12, 2013 6:14 am
by tanmay.01
1. Create a new folder in Drive and share it as "Public on the web."
2. Upload your HTML, JS & CSS files to this folder.
3. Open the HTML file & you will see "Preview" button in the toolbar.

Note : As you write your site's HTML, you can use relative paths for your images, CSS stylesheet, and JavaScript (if any).


preview.png


4. Share the URL that looks like http://www.googledrive.com/host/... from the preview window and anyone can view your web page.

preview_window.png


5. Here's my Example

Note: You can use free domains and forward them here. => http://gdriv.es/uetest/index.html