Right now your website is a folder of files sitting on your own computer. Only you can see it. To turn it into a real site — one your friend across the country can open on their phone — those files have to move somewhere that is always switched on and always connected. That somewhere is a web host, and getting your files there is called publishing.
The web host: a computer that never sleeps
A web host is a server — a computer that stays on all day, every day, connected to the internet, waiting to hand out your pages. You cannot use your own laptop for this: the moment you close the lid, the site would vanish. So you rent a slice of a host's server and copy your files onto it. This copying step is called uploading or deploying.
A domain name points to your host
People need an easy address to type, like mysite.co.uk. That is a domain name. You buy it (usually a small yearly fee) and set it to point to your host, so anyone typing the name is sent to your files. A domain name is like your house address — it does not hold your site, it just tells visitors where to find it.
One host, visitors everywhere
The best part: you upload once, and the same host serves that one copy to everyone, wherever they are. A visitor in Leeds and one in Lahore both receive the very same pages from your host. You never send anything to them yourself — the host does all the delivering, over and over, automatically.
The four steps: build, deploy, test, live
Publishing follows a tidy order. Build your files (HTML, CSS, JS) and check they work locally. Deploy — upload them to the host. Test the live version in a browser, because the host can behave slightly differently from your machine. Then go live: share the address so people can visit. Later, when you improve the site, you simply deploy again to update it.
| Term | What it is |
|---|---|
| Web host | An always-on server that stores and serves your site |
| Domain name | The easy address (e.g. mysite.co.uk) that points to the host |
| Deploy / upload | Copying your files onto the host |
| Local version | The files on your own computer, seen only by you |
| Published version | The live copy on the host that everyone sees |
Tip: Free hosting is perfect for learning and small projects. Paid hosting usually adds your own domain name, more space and no adverts — worth it once a site is real, but not needed to start.