Guide

How to host a website, without the jargon.

Hosting sounds technical, but for most small websites the choice comes down to one question: is your site a folder of finished files, or does it need a server that thinks?

TL;DR

To host a website, you need a service that keeps its files on a computer that is always online and sends them to every visitor, plus an address that points to it. For a site made of finished files, static hosting is the simplest and cheapest kind; shops, logins and server code need shared hosting, a server of your own or a website builder.

What hosting is

Before you look at how to host a website, it helps to know what a host does. A website is a set of files: pages, styles, pictures. Hosting means those files live on a computer in a data centre that is always on. When someone types your address, that computer sends them the files, and their browser shows the site.

Two more parts sit around it. The domain is the name people type, like studio-berg.com. DNS (the address book of the internet) connects that name to the host. You can rent the domain from one company and host the site with another; they only need to point at each other.

What differs between hosts is how much the computer does besides sending files. That is where the kinds of hosting come from.

The four kinds of hosting

Rough terms, not vendor prices. Every kind has free and expensive offers.

KindWhat it isFitsRough cost
Static hostingServes finished files from a fast network, nothing runs on a serverPortfolios, studio sites, landing pagesFree to low monthly fee
Shared hostingA share of a server that can run code like PHP and a databaseWordPress and other classic CMS sitesLow monthly fee
A server of your ownA virtual or real machine you set up and keep up to dateApps with custom server codeMonthly fee plus your time
Website builderBuilder, editor and hosting in one productSites built inside that builderMonthly subscription

Your own domain comes on top in every case, as a yearly fee to a registrar. How heyweb compares with builders: heyweb vs website builders.

Static: the cheapest way to host a website

A static site is a website whose pages are finished files. Nothing has to be computed when a visitor arrives, so the host only has to store files and send them out. That is why static hosting is fast, hard to break into and often free for small sites. If you want to host a static website, this is the kind to look at first.

Most sites that designers build today are static, even when they look rich: animations, galleries and forms that send to a form service all work without a server. Sites written by coding agents such as Claude Code usually come out this way too.

The catch is everything around the files. A static host does not give you an editor. Whoever changes a text later has to change the files and publish them again. More on that below.

Shared hosting, own servers and site builders

Shared hosting is the classic kind: you rent a slice of a server that also runs other customers’ sites. It runs PHP and a database, which is what WordPress needs. It is cheap, but you are responsible for updating the CMS and its plugins, and a neglected install is a security risk.

A server of your own (often a virtual private server, a rented virtual machine) can run anything. It also needs someone to install updates, watch backups and fix it at night when it stops. For a café website that is far more than needed.

A website builder bundles design tools, editing and hosting. It is the easiest path if you build inside it from the start. It is not made for a site you already have as files: usually you rebuild it inside the builder, and leaving later means rebuilding it again elsewhere.

What a small business website actually needs

Think of an architect with eight pages, a café with opening hours and a menu, or a small studio with a portfolio. None of them needs a database or server code. They need a few things done well.

  • HTTPS on every page, set up and renewed by the host without you thinking about it.
  • Fast loading on phones, which a content delivery network (copies of the site in many places around the world) takes care of.
  • Their own domain, so the address stays theirs if they ever change host.
  • A history of versions, so a bad change can be taken back.
  • A way for the owner to change texts and pictures without calling the designer and without breaking the layout.

Paste this into your agent.

Set up heyweb from app.heyweb.ai/start and put this site online.

Free until a site goes live. Then $12 a month per site, plus tax.

Domains and DNS in plain words

You buy, or rather rent, a domain at a registrar, and you renew it every year. In the registrar’s settings you find the DNS records: small entries that say where the name should lead. Your host tells you which entries to add, usually one or two lines.

After you save them, it can take from a few minutes to some hours until every visitor reaches the new place. Then the host issues the HTTPS certificate. Keep the domain in the client’s own name if the site is theirs; it saves trouble if you part ways.

How to choose

Static hosting fits when

  • The site is a folder of HTML, CSS, JavaScript and images
  • You want low cost and little to maintain
  • Visitors read, look and contact you
  • You or your agent publish the changes

Something bigger fits when

  • You need a shop with a checkout
  • Visitors log in to a member area
  • The site runs server code or its own database
  • The site already runs on a CMS like WordPress

How to deploy a website once you have chosen

To deploy a website means to publish a version of it to the host. With static hosting you drag a folder into a dashboard, connect a Git repository (a folder that keeps every version) so each new version goes out on its own, or let a coding agent do it. The full walkthrough is in how to publish a website.

Where heyweb fits

heyweb is static hosting with a content editor built in. Your coding agent sends the folder, heyweb serves it over HTTPS from Cloudflare’s network at an address like your-site.heyweb.page, and keeps every version with undo. Data is stored in the EU. It costs $12 per live site per month plus tax and is free until a site goes live; see pricing.

The client chat for changing texts and pictures and your client’s own domain are in early access. heyweb is not made for shops, member areas or anything that needs code on a server; for those, shared hosting, your own server or a builder are the better fit. More on the hosting itself: static site hosting.

Common questions

How do I host a website?

Choose a host, upload the files of the site and connect a domain. For a site made of finished files that takes minutes: upload the folder with index.html at the top and open the address the host gives you.

How much does it cost to host a website?

It depends on the kind of site. Many static hosts have free plans for small sites, while a site with a server and a database costs more to run and to maintain. Your own domain is a yearly fee on top. heyweb costs $12 per live site per month, plus tax.

What is the cheapest way to host a website?

For a site made of finished files, static hosting. Many static hosts have free plans for small sites, usually with an address on their domain and some usage limits. Your own domain costs a yearly fee on top.

How do I host a static website?

Pick a static host, upload the folder with index.html at the top, and open the address it gives you. Then add your own domain in the host’s settings and set the DNS records it names.

How do I deploy a website?

Deploying is publishing a new version to your host. With static hosting that means uploading the folder again, pushing to a connected Git repository, or asking your coding agent to put the new version online.

Can I host a website on my own computer?

Technically yes, but it has to stay on day and night, and opening it to the internet safely takes work. For a real site, a host is cheaper than the electricity and the worry.

Do I need hosting if I use a website builder?

No. A builder includes hosting in its subscription. You only need separate hosting if you build the site outside the builder, for example with a coding agent.

Keep reading

Publish the next one by saying so.

Add heyweb to your agentSee how it works

Paste this into your agent.

Set up heyweb from app.heyweb.ai/start and put this site online.
  1. Paste it
  2. Connect with your email
  3. Your site is online

Free until a site goes live. Then $12 a month per site, plus tax. How setup works