How do I put my site on the internet?
Put your files on a hosting service that serves them at a public address; on Cloudflare, one command, npx wrangler deploy, gives you a live URL.
Hosting means a computer that is always on answers visitors' requests with your files. Many services do this. Cloudflare is one option: your site is served from its global network, and you get an address ending in workers.dev that you can later replace with your own domain.
The basic steps:
- Put your site's files, such as
index.html, in a folder. - Add a small configuration file that names your project and points to that folder.
- Install Node.js, which lets you run Wrangler, Cloudflare's command-line tool, and sign in with
npx wrangler login. - Deploy with
npx wrangler deploy, which prints your live address. - Open that address on your phone to check it really works.
After that, use Git so you can track changes and roll back a bad version, and keep secret keys out of the files you deploy, because anything served to visitors is public.
AI can write the configuration for you, but compare it with the official docs: configuration formats change, and a wrong setting can serve the wrong folder or nothing at all.
On Vumbli, Ship It's "Deploy your first site to Cloudflare" puts a real page online and checks the live URL automatically. Later missions add a database and an API.
Start with these missions
- Deploy your first site to Cloudflare (Ship It)
- Git & GitHub in 15 minutes (Ship It)
- Databases: thinking in tables (Ship It)
Tracks that teach it
- Ship It: Git, Cloudflare, databases & APIs
More questions, answered by building