Google drive has been around since 2012. It's cheap, stable and easy to use, making it a good solution for small businesses and individuals. It's so stable that even small outages cause a furor, but even it has the usual vulnerabilities. One of its more underutilised features is hosting a web page for free. The basic steps are uploading an HTML file to google drive, finding the file's document ID from the sharing button and inserting that into this address www.googledrive.com/host/ID/ where ID is the document ID.
Google has a small tutorial on the basics, but it's essential to use the Google Drive application or an app to edit the html in Google Drive, because every time a file is re-uploaded its effective address changes and renders links useless.
- We've put together a list of the best web hosting services of 2020
1. Upload the HTML and any other files associated with the website.
2. Find the document ID for the files by opening the sharing panel for a file and finding the series of characters in the sharing URL. For instance, if this is the link: https://drive.google.com/open? id=0000000000000000000000000000&authuser=0, the ID would be where the zeros are in this example. The link format might also look like this: https://drive.google.com/file/d/ 0000000000000000000000000000/view?usp=sharing.
3. Combine the ID with www.googledrive.com/host/ID/ to create the address for that file by replacing ID with the ID found step 2, e.g. www.googledrive.com/host/0000000000000000000000000000/.
4. Using the google drive application, update the HTML files with the new addresses, using absolute links.
Benefits and Drawbacks
Although you can navigate to the site with a ~60 character URL, once you arrive at the site it displays as about 100 characters. Nobody's going to remember an address that long, let alone one with a series of random characters. The less technically savvy won't know how to use TinyURL to put that in a tweet, either. There are gTLD services out there to provide a shorter URL to redirect to the Google Drive site's landing page, but that can impact the site's perceived trustworthiness. If hosting a public oriented site and custom HTML isn't needed, other services like Google Sites or paid hosting may be better.
The other major disadvantage comes when using webmaster tools. You can't set level domain settings, so a few tools may not be accessible. Anything which requires HTML editing (e.g. establishing a canon URL or establishing ownership) is still possible.