How to Host a Website on Google Drive for Free in 2025

If you’ve built a basic HTML website and are wondering how to make it live on the internet without spending money on hosting, you’re in luck. In this guide, you’ll learn how to host a website on Google Drive for free, with up to 15GB of storage space—no domain, no cost, no problem.

Let’s walk through the process step by step.


What Kind of Website Can You Host on Google Drive?

Before jumping in, here’s what you need to know:

  • ✅ You can only host static websites (HTML/CSS/JS).

  • ❌ No support for databases or CMS platforms like WordPress.

  • ⚠️ Load speed might be slightly slower than traditional hosting.

So if your website is a simple one-pager or portfolio, Google Drive is a great starting point.


Step 1: Prepare Your Website Files

Make sure your website is ready. This means:

  • All files (HTML, CSS, JS, images) are stored in one folder.

  • Your main file must be named index.html.

This is the file browsers will load when someone visits your site.


Step 2: Create a Google Account (Optional but Recommended)

If you already have a Google account, you can skip this. But for better organization, it’s a good idea to create a new one specifically for your website.

To create a Google account:

  1. Open Chrome and click on your profile icon.

  2. Click “Add account” → “Create account” → Select “For personal use”.

  3. Enter your name, email, and password.

  4. Complete the form and click Agree to finish.


Step 3: Upload Your Website to Google Drive

Now, let’s upload your files:

  1. Go to Google Drive.

  2. Click NewFolder and name it after your domain (e.g., www.writely.site).

  3. Open the folder, then drag and drop all your website files into it.

See also  OpenAI Launches GPT-4.1 Series – But You Can’t Use It in ChatGPT

Done? Great! Now you need to make the folder public.


Step 4: Make Your Website Folder Public

  1. Right-click on the folder → Share.

  2. Click “Anyone with the link”.

  3. Set it to Viewer access.

  4. Click Done.

Now your files are accessible from the web.


Step 5: Host Your Site Using drv.tw

  1. Visit https://drv.tw.

  2. Select “Google Drive” and log in with the account you used.

  3. Grant access when prompted.

That’s it! You’ll get a link to your live website. Click it, and your HTML site will load.


Fixing Image Issues (If Any)

Sometimes, images hosted through Google Drive don’t display properly. Here’s how to fix them:

  1. Go to imgbb.com and upload the missing image.

  2. Choose “HTML full link” and copy the code.

  3. Download your index.html file from Google Drive.

  4. Open it with Notepad or any code editor.

  5. Replace the old image code with the new one.

  6. Save the file and re-upload it to Google Drive, replacing the old version.

Now your images should load perfectly.


Making Changes to Your Website

Want to update your site later? Easy:

  1. Download the HTML file from Google Drive.

  2. Edit the content in your code editor.

  3. Upload the updated file to the same folder and replace the old version.

Your changes will instantly reflect on the live site.


Bonus: Use a Custom Domain for a Professional Look

By default, your site will be hosted on a long URL. Want something cleaner like www.yoursite.com?

Here’s how to connect a custom domain:

Step 1: Buy a Domain

  1. Visit a domain registrar (e.g., Namecheap or GoDaddy).

  2. Search for your domain (use the same name as your Google Drive folder).

  3. Purchase it and complete the registration.

See also  The Changing Face of Software Engineering Careers in 2025

Step 2: Connect Your Domain to Google Drive

  1. Go to your domain settings → Manage DNS.

  2. Add a new CNAME record.

    • Name: www

    • Value: Copy the site link provided by drv.tw (remove https://)

  3. Save the record.

Now, when people type your domain name, they’ll be directed to your Google Drive-hosted website.


Final Thoughts

That’s it! You now know how to host a static website on Google Drive completely free. It’s a great way to get your first site live without worrying about hosting fees.

Whether you’re building a portfolio, sharing a personal project, or launching a simple landing page—Google Drive offers a surprisingly easy way to get online fast.

Leave a Comment

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

Scroll to Top