What is web hosting?

Web hosting is renting space on a computer that stays connected to the internet around the clock, so your website is there whenever someone types your address. Check your plan to see who handles software updates, backups and restores.

The short version

Every website is a set of files: pages, pictures, code and usually a database. Those files have to sit on a computer that's always on, always online and fast enough to send them to hundreds of visitors at once. That computer is called a server, and a company that rents you space on one is a web host.

When someone visits your site, their browser looks up your domain, finds the address of your server, asks it for the page and gets the files back. That round trip usually takes well under a second. Hosting is everything that makes the server side of that trip work.

What a host actually does for you

The server is the obvious part, but most of what you pay for is the work around it:

  • Keeps the machine running. Power, cooling, network connections and replacing failed hardware in a data center.
  • Keeps the software patched. The operating system, web server, PHP and database all get security updates. On cheap plans you may be responsible for your own site's software (WordPress and its plugins, for example), even if the host patches the server.
  • Backs things up. Good hosts take automatic backups and let you restore them. Some only keep a few days, some charge to restore.
  • Handles security certificates. An SSL certificate lets the browser verify the site’s address and connect over HTTPS. Most hosts now issue and renew these automatically.
  • Gives you a way in. A control panel (cPanel, Plesk or the host's own dashboard) to manage files, email accounts, databases and settings.
  • Answers when it breaks. Support quality is the biggest difference between hosts, and the hardest to judge before you need it.

The pieces that make a website work

People say "hosting" when they mean three or four different services. They can all come from one company, but they don't have to:

PieceWhat it isWho usually provides it
Domain nameYour address, like example.com, rented yearlyA registrar (GoDaddy, Namecheap, Cloudflare and many others)
DNSThe directory that points your domain at your website and emailYour registrar, your host or a DNS service
Web hostingThe server that stores and serves your siteA web host
Email hostingThe mailboxes for you@yourdomainMicrosoft 365, Google Workspace or the web host

Knowing which company handles which piece saves a lot of grief later. When something stops working, the first question is always "whose part is this?" Our guide on domains vs hosting goes deeper.

The main kinds of hosting

Plans differ mostly in how much of a server you get and how much of the work the host does for you:

  • Shared hosting: your site shares one server with many others. Cheapest, fine for small brochure sites, but a busy or hacked neighbor can slow you down.
  • VPS (virtual private server): a reserved slice of a server that behaves like your own machine. More power and control, more to manage.
  • Managed hosting: the host takes care of updates, security, backups and speed tuning for a specific platform, most often WordPress.
  • Website builders: Squarespace, Wix and similar bundle hosting with the design tool. Easy, but moving away later usually means rebuilding.

We compare them side by side in shared vs VPS vs managed hosting.

What stays your job

Even with a good host, a few things are on you unless someone is specifically paid to do them:

  • Renewing the domain, and keeping the registrar account email current so the renewal notices reach you.
  • Updating your site's own software (WordPress core, themes, plugins) unless the plan says the host does it.
  • Knowing where your backups are and that you can actually restore one.
  • Keeping the logins for the registrar, host and email somewhere safe, in your business's name, not only in a former employee's or web designer's head.

The last one causes more trouble than anything technical. A lot of small businesses find out their domain is registered to a designer who's no longer reachable. ICANN's registrant FAQs explain your rights as the domain holder, and it's worth confirming today that the account is in your name.

Do you need to think about this at all?

If a web designer or IT company already looks after your site, the useful thing is to know enough to ask good questions: where is it hosted, who has the logins, when were the backups last tested, and who gets the alert when it goes down. If you're doing it yourself, start with how to choose a web host.

Sources

Drafted with AI assistance. Report a correction.

Keep reading