Skip to content
AI Exercises
–points–day streak

What is web hosting?

Hosting is renting space on a computer that's always online, so your website is available to everyone, day and night.

In real life

Like renting a shop on the high street instead of selling from your living room: it stays open even while you sleep.

Try it yourself

Where do your site's files live?

Your website

A website is just files like these, plus an address people can type.

  • index.html
  • style.css
  • photo.jpg

Your laptop at home

Online

Visitors around the world

  • A visitor in LondonWaiting to visit
  • A visitor in New YorkWaiting to visit
  • A visitor in TokyoWaiting to visit

Running a site from your own laptop works only while it's on and connected. Close the lid, and everyone else gets an error.

Where you will use this

  • Track 2, lesson 2: Accounts (Vercel)Coming soon
  • Track 2, lesson 12: Deploy on VercelComing soon

Quick check: Hosting

Question 1 of 3

Why not run your website from your own laptop?

Why not run your website from your own laptop?