I’m trying to put up a basic website using Google Drive as the host. My site includes a main HTML file, some CSS stylesheets, JavaScript files, and image assets stored in a separate folder.
When I try to view the main page through Drive’s preview feature, I’m running into two major problems:
The additional HTML pages that should load within the main layout aren’t showing up
None of the CSS styling appears and the images are completely missing
I followed some online tutorials about using Google Drive for web hosting, but something isn’t working right. Are there alternative methods or platforms I could use to get my static website files working properly online?
Using Google Drive for hosting static websites is problematic due to its limitations on file serving and MIME types. Many users encounter issues with relative paths which result in missing assets like images and CSS. Instead, consider using platforms specifically designed for static site hosting, such as GitHub Pages, Netlify, or Vercel. These services are tailored for this purpose and can handle your files correctly. GitHub Pages is straightforward if you are familiar with Git, while Netlify offers an easy drag-and-drop interface, making it accessible for beginners.
Google Drive’s web hosting is essentially broken now and won’t serve static sites properly. I tried this same thing and got nowhere. The preview feature isn’t meant for real hosting and breaks everything. Firebase Hosting is your best bet; the free tier is generous, performance is solid, and setup through their CLI is pretty painless. It’ll handle your CSS and JS files without issues. Surge.sh is another good option if you want something even simpler—just deploy straight from the command line with almost zero config.
google drive hosting’s been dead for ages now. just go with neocities - it’s free, dead simple to use, and works great for basic html/css sites. you literally just drag and drop your files through their web interface. no terminal commands or complicated setup.