Learn How to Host Your Website

A simple guide for students to get their first website online.

Get Started β†’

What is Web Hosting?

Web hosting is a service that stores your website files on a server so people can visit your site on the internet. When a user types your web address, the server sends your website to their browser.

🌐 Domain Name

The address people type to find your site, like mysite.com.

πŸ–₯️ Web Server

A computer that stores your files and serves them to visitors 24/7.

πŸ“ Website Files

Your HTML, CSS, and images that make up the website.

How to Host This Website

Follow these simple steps to put this page online.

  1. Create your website files
    You already have them! index.html, style.css, and images.
  2. Choose a hosting option
    Free options: GitHub Pages, Netlify, Vercel.
    Paid options: shared hosting (Hostinger, Bluehost).
  3. Upload your files
    Drag and drop your folder into the hosting provider, or push to a GitHub repo.
  4. Get your link
    Your host gives you a public URL. Share it with anyone!

Environment Variables (Live Demo)

The values below come from server-side environment variables. They are set in Vercel (Settings β†’ Environment Variables) and read by a serverless function at /api/config. The browser never sees the raw variables β€” it only receives what the function chooses to send back.

Loading…

How to change these values (3 steps)
  1. In Vercel, open your project β†’ Settings β†’ Environment Variables.
  2. Add a key like SITE_OWNER with a value, pick the environments (Production / Preview / Development), and save.
  3. Redeploy. Env var changes only apply to new deployments, not the one already running.

Contact

Questions about the workshop? Reach out to your instructor.

Email Us