How to host a static website on google drive for free in 2021

Google Drive is a Google-developed file storage and synchronization service. Google Drive, which was launched on April 24, 2012, allows users to store files on their servers, sync files across devices, and share files. Google Drive has applications for Windows and macOS devices, as well as Android and iOS smartphones and tablets, in addition to a website. Google Docs, Google Sheets, and Google Slides are all part of the Google Docs Editors office suite, which allows you to collaborate on papers, spreadsheets, presentations, sketches, forms, and more. Google Docs files are stored in Google Drive after they've been created and modified.


Google One provides users with 15 GB of free storage on Google Drive. Optional paid plans are also available for 100 GB, 200 GB, 2 TB, 10 TB, 20 TB, and 30 TB of storage on Google One. Up to 5 terabytes of data can be uploaded. Individual files and directories may have their privacy settings changed, such as allowing sharing with other users or making content public. Users can use natural language to find unique files, such as "find my budget spreadsheet from last December," and scan for images by explaining their visuals.


A Backups section on the website and Android app shows which Android devices have data backed up to the service, and a fully revamped computer app released in July 2017 allows users to back up unique folders on their computer. A function called Quick Access will intelligently predict which files users will need.


Google Workspace, Google's monthly subscription offering for companies and organizations that existed as G Suite until October 2020, includes Google Drive as a key feature.

The google drive comes with limitless storage, advanced file audit reporting, enhanced administration controls, and improved team collaboration software as part of several Google Workspace plans.

Google Drive has always been a great place to keep HTML, JavaScript, and CSS files safe and accessible from any device. You can now host and upload this content as well! To learn more.


Now let's start with how to host a static website on google drive for free.


Step 1: open google drive using your google account.

Step 2: Create a folder in Google Drive.

Step 3: After creating a folder go to new in google drive and click upload folder and upload the file.

Step 4: After upload, the files in google drive check its upload with the proper folder name.

Step 5: Next step go to link and sign up with your google drive account to this link.

Step 6: After sign in you will find your folder name which you uploaded to google drive.

Step 7: click on the link of the folder then the static website is hosted with the default link with folder name like this.



Let's start,


Step 1: Open Google drive to upload the files to host a website.



host a website in google drive



Step 2: Create a unique folder in google drive like your project name as shown below in the pic.



host static website in google drive



Step 3: After the folder is created upload the files to the folder by clicking the new button, and file upload inside the folder, or you can drag and drop all the files to google drive it automatically create a folder and upload all the files in the google drive.



upload files to google drive to host a website



Step 4: once the folder is successfully uploaded then check all the files. then next step is to get the website link for that to go to  website and sign in to your google drive Gmail account.



host a website in google drive



Step 5: once you sign in you will find the link to the folder which you uploaded in google drive on the website. and click on that link and the main things in the uploading files index.html should be there as the main file in the project.



generate google drive hosted link



Step 6: once it did you will find the link and click the link - like this. with the folder name and click on that the static website will open and you will find the page that you uploaded in google drive.



google drive web hosting


At last, your website is hosted successfully with the default domain name in google drive and you can find the static page in the link, and google drive web hosting supports Html, CSS, and javascript also. this is one of the ways to host your static website on google drive for free. 


Happy coding ...


  • host a website in google drive
  • google drive webhost
  • static page in google drive
  • How to host a static website in google drive for free

Leave a Comment

Your email address will not be published. Required fields are marked*

User Comments


at 2021-04-03 07:17:45

Wow this questions help me lot thank you notes4free , u r doing great and helping the students , keep on doing I am very happy with your works

Popular projects

Project Categories

notes4free donate

Please donate us for grow our platform ,donation starts from 1rs