Websites2 minutes to read

Where can I host a small website for free?

Publish a portfolio or project page on Bothosting’s free Spark plan. See what fits, where the HTTPS address comes from, and how to check the published files.

What fits on the free plan?

Bothosting’s Spark plan can host a small HTML, CSS and JavaScript website for free. It includes one deployment, 256 MB of memory, 25% CPU and 512 MB of storage. Renew it in your dashboard every 7 days. Eligible deployments get a platform HTTPS address and can connect a custom hostname.

A portfolio with a few images, a résumé and a contact link is a good fit for the Static site profile. Count the images and downloadable files in your storage budget. Leave space for your working files and published releases. If your site needs a frontend compiler, you can run that step on your computer and upload its output.

Publish the files your visitors should see

  1. Choose Static site under Website hosting. Upload your visitor-facing files under public/ with public/index.html as the home page. The downloadable HTML starter already has this layout.
  2. Set MAIN_FILE to public/index.html, start the deployment and choose Publish website in Deploy. A file at public/resume.pdf will be served at /resume.pdf.
  3. Open Settings and copy the deployment’s HTTPS address. Use this address when sharing the site with visitors.

Check it from outside your editor

Open the address in a fresh browser window. Follow the résumé link, then paste its full URL into another tab. Both should show the PDF. If the homepage works but the link fails, compare the exact filename and letter case with the release you published.

A later edit in Files reaches visitors when you publish it. For a domain you already own, see connecting a website subdomain while keeping your email.