What a free static host gives you, and where it stops
Hosting for basic files can cost nothing, but a free service usually comes with less than a paid one. Here is what to ask before you put a website on it.
What hosting actually gives a site like this
Hosting is rented space on a company's computer, called a server, that stores a site's files and sends them out whenever someone types in the address. Every website needs this, whatever it's built from.
A page that is already built before anyone asks for it needs very little from that computer. There's no code running each time a visitor arrives, no password to check, no order to look up in a store of information kept behind the page. The server only has to find the file and send it out as it is.
The address people type to reach the site, the domain name, is held separately under a licence from a company called a registrar. That address has to be pointed at the server where the pages are kept. If the pages ever move to a different host, the address has to be pointed there too, or visitors typing the same address end up nowhere. For what else a site built this way can and can't do on its own, see What a Static Site Can and Cannot Do.
What 'free' hosting actually includes
A static site still needs somewhere to live: a computer that holds its files and sends them out each time someone types the address or clicks a link. That storage and delivery is what hosting is, and a number of companies offer it for nothing, provided the site is made of pages that are already built.
MDN notes that a free hosting service generally comes with a narrower set of features than a paid one. That isn't a reason to rule it out for a straightforward site. It is a reason to find out where the narrowing falls before you build anything on top of it.
Where to look
Each free host draws its own line between what's included and what costs extra, or isn't offered at all. The line isn't always stated clearly on the sign-up page, so it's worth asking directly.
Questions to ask of any free static host
A free host still has to answer these questions. If it cannot, you find out after the site is built, which is the wrong time.
-
Whose address does the site live at?
Some free hosts give the site its own address only if you bring a domain name you already hold. Without one, visitors may see the host's name in the address.
-
What happens when visitors arrive in large numbers?
A sudden rise in visitors, from a press mention or a local event, can be limited or slowed on a free plan in ways a paid plan is not.
-
What happens when the site is rebuilt often?
Each change to a static site means the pages are rebuilt and sent out again. A free plan may cap how often that can happen in a given period.
-
What has to move if you leave?
Check what you would need to carry with you: the files, the domain name, and any settings tied to the host, before you rely on the free plan long term.
-
Is there a support route if something breaks?
Free plans often come with no one to contact when the site stops serving pages correctly.
-
What is included, and what sits outside the free tier?
A host's free scope can change without much notice. Knowing what is promised now tells you what you might lose later, not what you are guaranteed to keep.
A host that fails one of these checks is not automatically wrong for you. It just means a question you need to ask before you build anything on top of it.