CMS, hosting & tools

What Is Web Hosting? A Beginner's Guide

Stefan Pakic3 min read

Web hosting explained: a server hosting a website

Web hosting is a service that stores your website's files on a server and makes them available on the internet, so anyone who types your address can see your pages. Without hosting, your website would be a set of files on your own computer that nobody else can reach. Here is how it works, what to look for, and when you do not need to buy hosting separately.

What is web hosting?

Web hosting is an online service that stores your website's files (code, text, images, video) on a server and delivers them to visitors. You rent space on physical, cloud or CDN servers from a hosting provider, which also keeps those servers running and secure.

How does web hosting work?

  1. The request. A visitor types your address (such as www.example.com) or clicks a link to your page.
  2. DNS. The Domain Name System turns the name into a numerical IP address.
  3. Server connection. The browser reaches the server that holds your files.
  4. File retrieval. The server finds the files for the page.
  5. Data transfer. It sends them back to the browser.
  6. Display. The browser shows the page.

Your server does this around the clock. You could run one yourself, but that means buying, configuring and maintaining the hardware and software; hosting providers do it for a monthly or yearly fee.

What features should a hosting plan have?

  • Storage, CPU, RAM and bandwidth. They decide how fast your site loads and how it copes with traffic. Speed also supports search rankings, as explained in website builders for SEO.
  • A control panel where you manage the account, databases and email.
  • Email accounts on your own domain.
  • Security. Firewalls, malware protection, backups and an SSL certificate (the https in your address).
  • Uptime. Look at what the provider promises and how it handles outages.
  • Support. Chat, email or phone, ideally with a knowledge base.

What types of web hosting are there?

  • Shared hosting. Many sites share one server. Cheapest, fine for small sites; traffic on other sites can slow yours.
  • VPS hosting. A physical server split into isolated virtual ones, each with its own share of resources. A good step for growing business sites and small shops.
  • Cloud hosting. A network of virtual servers; if one fails, others take over. More expensive, more reliable and scalable.
  • CDN hosting. Copies of your static files (images, CSS, video) on servers around the world, so each visitor gets them from the nearest one. Good for sites with a global audience.

Do you need to buy hosting?

It depends on how you build. A self-hosted CMS such as WordPress needs a hosting plan from a provider. Many builders include hosting, and so does Divhunt Studio: a site you publish from Studio is hosted by Studio, so you do not buy a server or install anything. If you are still choosing a builder, see website builder vs coding and how to make a website from scratch.

Can you host a website for free?

Many platforms let you build for free and charge when you publish. In Divhunt Studio building is free and you pay when you publish; see the pricing for the plans. Free hosting plans elsewhere usually come with limits, so read what is included before you rely on one.

Which hosting does your kind of website need?

Almost any small site works on shared hosting or on a builder that hosts it for you. A portfolio, a photographer's gallery or a blog is light, though large images still add weight; a hotel or an online store with many images and visitors benefits from faster hosting. You can see the kinds of sites you can start from in the website templates, for example travel, portfolio or food and drink. For a full launch checklist, see how to create a business website.

FAQ

What is web hosting in simple words?

Renting space on a server so your website is online all the time.

What is the difference between a domain and hosting?

The domain is your address; hosting is where your files live.

Do I need hosting if I use a website builder?

Usually the builder provides it. Check what is included in the plan.

What is CDN hosting?

Your files are cached on servers around the world and delivered from the one closest to the visitor.

More posts

All

Build it today. Pay when it goes live.

Every feature is unmetered while you build.

Start building