How to host a website: the free way, step by step
Quick answer
To host a website, put its files on a host that serves them at a URL, then point your domain at it. The fastest free route: upload your HTML file, folder, or ZIP to Convika, publish it free, and connect your own domain on the Free plan, with HTTPS set up for you. Forms that save every entry and visitor stats come with it. Website builders and shared hosting are the other two ways, compared below with their prices.
Free plan: no credit card, 1 published page, 10,000 page views a month, your own domain.
On this page
Hosting a website means putting its files on a computer that answers web requests, so anyone with the link sees the page. You don't need a server of your own for that. A site made of HTML, CSS, and JavaScript files, the kind you write in an editor or get from ChatGPT, Claude, or Gemini, goes online free in a few minutes. This guide compares the three ways to host a site, then walks the free one step by step, through your own domain and HTTPS.
3 ways to host a website
| Way | What you do | Good for | Cost to start | Examples |
|---|---|---|---|---|
| A host for your files | Upload the HTML, CSS, and JavaScript files; the host serves them at a URL | A site you already have as files, including one an AI wrote | Free | Convika, GitHub Pages, Netlify, Cloudflare Pages |
| A website builder | Design the pages in the builder's editor, and it hosts them | Starting from the builder's own templates | Free on the builder's address; your own domain on a paid plan | Wix, Squarespace |
| Shared hosting or a server | Rent space on a server, then upload files or install software such as WordPress | Sites that run server code, such as PHP and a database | From $1.99 a month on a 48-month term at Hostinger | Hostinger, a virtual private server |
A host for your files is the shortest route when the site is already written. The files are the site: the host only hands them to each visitor's browser, which is why it can be free.
On Convika, that host also does the jobs a plain file host leaves to you. A form on the page saves every entry and emails it to you, the dashboard shows who visits and where they came from, and your own domain connects on the Free plan.
Host your website on Convika in 3 steps
Upload your site
Drop your .html file into the upload box at the top of this page, or a folder or .zip with index.html, its CSS, and its images. Convika combines the files into one page of up to 2 MB. Got the code from an AI? Switch to Paste code and paste it. Click Get my preview link: the page opens online in seconds, with no account, for 3 minutes. The same box is on its own page, publish an HTML file online, to bookmark for next time.
Keep it and publish
Click Keep this page — free, no card and sign up: the page moves into your account, and its scripts and forms run. On the page's screen, click Publish page. Under Who can open this page?, choose Public and click Next. The first time, click Publish free. Your website is live at once at an address like yourpage.convika.page, with the Convika bar at the bottom. To publish without the bar, click the second button, under Publish free: it buys the Pro pass, $5 once for 30 days, with no auto-renewal.
Connect your domain
On the page's screen, find the Custom domain card and click Connect my domain. Type a subdomain such as www.yourbrand.com and click Add domain. Convika lists two DNS records, a CNAME and a TXT: add both where your domain is managed, then click Check status. Once the site shows Connected and Certificate active, your website opens at https://www.yourbrand.com. The full steps, with what each DNS dashboard asks for, are in putting a page on your own domain.
Your own domain: buy it, connect it, HTTPS
- Buy the domain from a registrar such as Cloudflare, Namecheap, or Porkbun. The name is yours for as long as you renew it, whichever host serves the site.
- Connect it by adding the DNS records your host gives you. On Convika, that's a CNAME and a TXT for
www.yourbrand.com, plus an A record that sends the bareyourbrand.comto it. - HTTPS comes with it. Convika issues the certificate once the records are found, with nothing to buy or renew.
DNS changes take from a few minutes to 48 hours to reach every network. The site keeps working at its convika.page address meanwhile, so you can share that link today.
What hosting a website costs
| Host | Free plan | Paid plans from | Your own domain |
|---|---|---|---|
| Convika | 1 published page, 10,000 page views a month, forms and 90 days of visitor stats, with the Convika bar | Pro, $12 a month: no bar, 100 published pages, 100,000 page views a month | Yes, on Free |
| GitHub Pages | Sites up to 1 GB, with a "soft bandwidth limit of 100 GB per month" | Not sold for Pages: GitHub says it "is not intended for or allowed to be used as a free web-hosting service to run your online business" | Yes |
| Netlify | "$0 forever" with a "300 credit limit"; each production deploy uses 15 credits, and at zero "all of your web projects (sites/apps) are paused" | Personal, $9 a month | Yes: "Custom domains with SSL" |
| Cloudflare Pages | 500 builds a month and up to 20,000 files a site | Cloudflare's Pro plan: 5,000 builds a month and up to 100,000 files a site | Yes, up to 100 a project |
| Hostinger (shared hosting) | None | Premium, $1.99 a month on a 48-month term ($95.52 up front), renewing at $10.99 a month; a domain free for 1 year | Yes |
Each row was checked on the host's own page on November 16, 2026. Netlify's credit costs are from its credits page (last updated August 12, 2026), and Cloudflare's limits page was last updated September 5, 2026. For free hosts in more depth, see free HTML hosting compared and free hosting for business use.
Forms and visitor stats on your website
A contact form or a signup form needs somewhere to send what people type. Most file hosts serve files and nothing more: GitHub Pages is "a static site hosting service that takes HTML, CSS, and JavaScript files", and on Cloudflare Pages a form goes to code you write yourself, through its Static Forms plugin and a Pages Function.
On Convika, the form is part of hosting. Upload the page, click Connect this form on the page's screen, and each entry is saved in your dashboard and emailed to you, with your form's own fields and look. The Free plan shows 50 entries a month. Copy a ready form from HTML contact form code, or start a launch page from the coming soon page template.
The dashboard also shows who opens the site: visitors by day, where they came from, their country and device, and which buttons they click. Free keeps 90 days of it.
Host a website an AI made
ChatGPT, Claude, and Gemini write a whole site as one HTML file. Copy the code, paste it into the upload box, and publish it as above. Each app has its own way to get the file out:
- ChatGPT: publish a ChatGPT HTML page
- Claude: publish a Claude artifact
- Gemini: publish a Gemini Canvas page
Claude can also put the page on Convika for you. In Claude, go to Customize > Connectors, click + Add, then Add custom connector, and enter https://mcp.convika.com. Then ask "Put this page on Convika and show me the preview." Claude returns a private preview link, and you publish from the chat or the dashboard.
A site of separate HTML, CSS, and JavaScript files goes up the same way, as a folder or a .zip: deploy HTML, CSS, and JS for free.
Frequently asked questions
Can I host a website for free?
Yes. Upload your HTML file, folder, or ZIP to Convika and publish it on the Free plan: 1 published page with 10,000 page views a month, your own domain, forms, and visitor stats, with no credit card. The page carries the Convika bar at the bottom.
Do I need a server to host a website?
No. A site made of HTML, CSS, and JavaScript files needs only a host that serves them, such as Convika. You need a server, or shared hosting, only for software that runs on it, such as WordPress or a PHP script.
How do I make my website live?
Upload its files to a host and publish. On Convika: drop the file in the upload box, click Keep this page — free, no card, then Publish page, Public, Next, and Publish free. The site is live at once at its convika.page address, and at your own domain once its DNS records are in.
How much does it cost to host a website?
Nothing, on Convika's Free plan. The one thing you buy is a domain name, if you want your own, from a registrar by the year. Pro is $12 a month for no bar and more pages; shared hosting at Hostinger starts at $1.99 a month on a 48-month term.
Can I host a website with several pages?
Yes. Each page goes at its own path of the site, such as /about or /menu, under your domain. The Free plan publishes 1 page at a time, and Pro publishes 100.
How long does it take to put a website online?
A few minutes. The preview link opens seconds after the upload, and publishing is one more screen. A new domain takes a few minutes to 48 hours to reach every network; the HTTPS certificate usually follows within minutes of that.
Can I update my website after it's live?
Yes. Upload the changed file under Update from an HTML file on the page's screen. It becomes the next version at the same link, and visitors see it once you publish.
Next step
How to password protect an HTML page or website
A JavaScript password script leaves the password in the page source. To password protect an HTML page or link, encrypt the file or let a server check it.
Related articles
- Free HTML hosting compared (2026)Convika, Netlify Drop, Cloudflare, GitHub Pages, Vercel, Tiiny Host, and 3 more free HTML hosts compared: sign-up, link expiry, custom domain, forms, stats, and badge.
- How to set up a custom domain on GitHub PagesAdd the domain under Settings > Pages, then a CNAME for www or 4 A records for the apex, and turn on Enforce HTTPS. Every DNS value, the fixes, and a custom domain with forms on Convika.
- Which free hosting lets me run a business site? GitHub Pages, Netlify, Vercel, Cloudflare Pages: what each one's terms sayConvika Free, Netlify Free, and Cloudflare Pages allow a business site; GitHub Pages and Vercel Hobby don't. Each host's rule, quoted and dated, across 10 kinds of site.
- How to deploy an HTML, CSS, and JavaScript site for freeA site of HTML, CSS, and JS files is static, so 5 hosts serve it free. Which need an account, Git, or an index.html, from each host's docs on November 15, 2026.
- Can I put a page ChatGPT or Claude made on my own domain without paying for hosting?Yes, you pay only for the domain. Convika's Free plan connects www.yourbrand.com with 2 DNS records and issues HTTPS. The records Cloudflare Pages, GitHub Pages, Netlify, and Vercel ask for, too.
- HTML contact form: copy the code and get every message by emailCopy a styled HTML contact form and an email signup form. Host the page on Convika: each message is saved, emailed to you, and exported as CSV. No PHP.
Skipbox
Cheap & fast GitHub Actions runners, unlimited for $39 a month
Your own machine keeps Docker layers and package caches between jobs. Switch by changing one runs-on line.
Start a free Skipbox trial