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.
-
Create your website files
You already have them!index.html,style.css, and images. -
Choose a hosting option
Free options: GitHub Pages, Netlify, Vercel.
Paid options: shared hosting (Hostinger, Bluehost). -
Upload your files
Drag and drop your folder into the hosting provider, or push to a GitHub repo. -
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)
- In Vercel, open your project β Settings β Environment Variables.
- Add a key like
SITE_OWNERwith a value, pick the environments (Production / Preview / Development), and save. - 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