To host a website, you put its files on a server that stays online, then point a domain name at that server. A plain HTML site can run for $0 on a free static host (GitHub Pages, 2026). Shared hosting starts at $1.99 a month on Hostinger's 48-month term, according to its pricing page. Your choice depends on what the site does. A plain site needs only free static hosting. A WordPress site needs a host that runs PHP and a database.
Prices come from each company's own page in 2026. Check the renewal price before you pay.
Disclosure: the Hostinger links and the coupon code below are part of Hostinger's affiliate programme. Tutorsbot may earn a commission if you buy, at no extra cost to you.
What is web hosting and how does it work?
Web hosting is a rented space on a server that is always switched on and online. A server is a computer that sends your pages to anyone who asks. Without hosting, nobody can open your site.
Here is what happens when someone visits your site. Their browser looks up your domain name. The lookup returns the address of your server. The server then sends back your pages, images and code.
What is web hosting vs domain?
The domain is the address people type, such as tutorsbot.com. Hosting is the place where the files live. You need both. You can buy them from different companies.
Web server vs web hosting
A web server is the software or machine that sends pages out. Web hosting is the service that rents you a web server, keeps it running and gives you support. When you pay for hosting, the company runs the web server for you.
Types of web hosting: shared, VPS, cloud, managed WordPress and static
There are five common types. Shared is the cheapest paid type. Static hosting is free but only serves fixed files. The table shows the starting price of each type from one named source.
| Type | What it is | Best for | Starting price (source) |
|---|---|---|---|
| Shared hosting | Many sites share one server | A small site or blog | $1.99 per month on a 48-month term (Hostinger Premium) |
| VPS hosting | Your own slice of a server, which you manage | Custom apps and steady speed | $4 per month for 512 MiB of RAM (DigitalOcean) |
| Cloud hosting | Your site runs on a group of linked servers | A site that is outgrowing shared hosting | $7.99 per month on a 48-month term (Hostinger Cloud Startup) |
| Managed WordPress hosting | A host set up and tuned for WordPress | WordPress sites | From $1.99 per month on a 48-month term (Hostinger WordPress hosting) |
| Static or free hosting | Serves fixed files only, no PHP or database | Portfolios, docs, React builds | $0 (GitHub Pages, Cloudflare Pages, Netlify) |
Sources: Hostinger, DigitalOcean, GitHub, Cloudflare and Netlify (2026). See cheap VPS hosting for more VPS plans, and what is cloud computing for the cloud.
How much does hosting a website cost?
Hosting a website costs $0 for a static site (GitHub, Cloudflare and Netlify, 2026) and about $2 to $18 a month for shared hosting. The first price is not the price you keep. Most shared plans need a long prepaid term, and the renewal price is much higher.
Website hosting cost per month and per year
The table shows the first price and the renewal price for four plans. We worked out the totals ourselves. The four-year total assumes the renewal price stays the same after the first term.
| Plan | First price | First term paid up front | Renewal price | Total over 4 years |
|---|---|---|---|---|
| Hostinger Premium (3 sites, 20 GB) | $1.99 per month | 48 months, $95.52 | $10.99 per month | $95.52 |
| Hostinger Unlimited (50 GB NVMe) | $2.79 per month | 48 months, $133.92 | $16.99 per month | $133.92 |
| SiteGround StartUp (1 site, 10 GB) | $3.99 per month | 12 months, $47.88 | $17.99 per month | $695.52 |
| Bluehost Starter (10 sites, 10 GB) | $3.99 per month | 36 months, $143.64 | $9.99 per month | $263.52 |
Sources: Hostinger, SiteGround and Bluehost shared hosting pages (2026). Bluehost prices exclude VAT and GST. The SiteGround total is 12 months at $3.99 plus 36 months at $17.99. The Bluehost total is 36 months at $3.99 plus 12 months at $9.99. We did not find the renewal term length for each plan, so a real renewal bill may differ.
The Hostinger totals cover only its first 48-month term. One year after that at the renewal price costs $131.88 on Premium. A year of SiteGround StartUp at renewal costs $215.88.
What does a domain cost?
A domain is a separate yearly fee. Hostinger lists a free domain for one year on its Premium, Unlimited and Cloud Startup plans. After that you pay the normal renewal price. Cloudflare says it sells domains at cost with no markup, and it shows the price when you search (Cloudflare, 2026). Prices differ by ending, so search the exact name you want.
For store costs, see BigCommerce vs WooCommerce.
How to host a website step by step
Follow these steps in order. They work for most sites.
- Decide what you are building. A plain HTML site, a React build or a portfolio can use free static hosting. A WordPress site or a PHP site needs paid hosting.
- Pick a host and a plan. Read the renewal price and the billing term first.
- Register a domain. You can buy it from the host or from a separate registrar.
- Point the domain at the host. In your domain settings, enter the nameservers or DNS records that your host gives you. DNS is the system that links a name to a server address. The change can take some time to spread.
- Put your site on the server. For WordPress, use the host's installer. For a static site, upload the files or connect a Git repository.
- Turn on HTTPS. HTTPS encrypts the connection. WordPress asks hosts to support it (WordPress.org, 2026).
- Open the site on your phone and a laptop. Then set up a backup.
For an easier route, try a website builder. Compare two in Squarespace vs Wix.
WordPress.org says a host should offer PHP 8.3 or newer and MariaDB 10.11 or newer, or MySQL 8.4 or newer. Check these before you pay for a WordPress plan.
How to host a website for free
You can host a static website for free on GitHub Pages, Cloudflare Pages or Netlify. A static site is made of fixed files such as HTML, CSS, JavaScript and images.
| Free host | Limits from its own page | Watch out for |
|---|---|---|
| GitHub Pages | 1 GB site size, soft limit of 100 GB per month of traffic, soft limit of 10 builds per hour | It is not meant to run an online business |
| Cloudflare Pages (Free plan) | 500 builds per month, 20,000 files per site, 25 MiB per file | Cloudflare says Workers supports most Pages use cases and advises new projects to start with Workers |
| Netlify (Free plan) | 300 credits, with bandwidth at 20 credits per GB and each production deploy at 15 credits | Traffic and deploys draw from one pool of credits |
Sources: GitHub Docs, Cloudflare Developers and Netlify pricing (2026). At Netlify's rates, 300 credits cover about 15 GB of traffic if you do nothing else. That is our math.
How to host a website on GitHub
You can host a website on GitHub for free with GitHub Pages. You need a GitHub account and your site files. Follow these steps from GitHub's quickstart.
- Create a repository named username.github.io, using your own GitHub username.
- Add your site files, such as index.html, to the repository.
- Open Settings, then Pages.
- Under Build and deployment, set Source to Deploy from a branch, then pick your branch.
- Visit username.github.io. Changes can take up to 10 minutes to show (GitHub Docs, 2026).
GitHub says Pages is not allowed as free hosting to run your online business. It also says not to use it for passwords or card numbers. Use it for a portfolio, docs or a project page.
How to host a website on Cloudflare
Cloudflare Pages offers three setup methods: a command-line tool, Direct Upload and Git integration. Direct Upload suits a folder of finished files. Cloudflare's own page says Workers covers most Pages use cases and suggests new projects start there, so read both options first.
How to host a React website for free
Build your React app first. The build step turns it into static files. Then upload that output to GitHub Pages, Cloudflare Pages or Netlify. If your app needs server code or a database, a free static host is not enough.
How to host a website for free with a domain name
Free hosts give you a free web address. For your own domain, you pay for the domain, add it in the host's settings and update your DNS records. Netlify lists custom domains with SSL on its Free plan.
How to host a website on your own computer
You can host a website on your own computer, but it is a poor choice for a real site. Use it to learn.
Self hosting means you run the server yourself. Web hosting means a company runs it for you. Here are the problems with a home computer.
- The computer must stay on all day.
- Most home internet plans change your address from time to time.
- You handle every update, attack and backup.
A VPS is the middle path. You rent a small server and run it yourself. You get a fixed address and a steady connection. Our VPS guide lists plans from $4 a month.
Hostinger shared hosting plans and prices
Hostinger is one option for shared and WordPress hosting. It fits you if you want a low first price and can pay for a long term. Its page lists three plans, and all three need a 48-month term (Hostinger, 2026).
| Plan | Price per month, 48-month term | Paid up front | Renewal price per month | Sites | Storage |
|---|---|---|---|---|---|
| Premium | $1.99 | $95.52 | $10.99 | 3 | 20 GB SSD |
| Unlimited | $2.79 | $133.92 | $16.99 | Unlimited | 50 GB NVMe |
| Cloud Startup | $7.99 | $383.52 | $25.99 | Unlimited | 100 GB NVMe |
Source: Hostinger web hosting and WordPress hosting pages (2026). Hostinger notes the Premium price is a promotional rate. All three plans list a free domain for one year, free SSL and a 30-day money-back guarantee. Backups are weekly on Premium and daily on the other two. Check the renewal price before you buy.
The same three plans appear on Hostinger's WordPress hosting page. For a small site, compare Premium first.
Disclosure: this link is an affiliate link. Tutorsbot may earn a commission if you buy, at no extra cost to you.
Who should not choose shared hosting from Hostinger
Skip it if you do not want to pay 48 months at once. The prices above need that term.
Other hosts can be a better fit. Bluehost Starter lists a $9.99 renewal price for 10 sites, which is lower than Hostinger Premium at $10.99 (Bluehost and Hostinger, 2026). SiteGround lists a 12-month term, so you commit for less time. Its renewal price is $17.99 for StartUp, so the total is higher over time. If you only need a static page, free hosting costs nothing and you should use that.
| If you want | Pick |
|---|---|
| A portfolio, docs or a React build | Free static hosting (GitHub Pages, Cloudflare Pages or Netlify) |
| One small WordPress site at a low price | Shared or WordPress hosting, after you check the renewal price |
| Full control and your own software | A VPS |
| A site you design without code | A website builder |
The short version
For a plain site, use free static hosting and pay only for a domain. For WordPress, compare shared plans by renewal price and billing term, not by the first month. A VPS fits you only if you can manage a server. Never rely on your home computer for a live site.
Related hosting guides
- Hostinger coupon code 2026
- WordPress hosting for beginners
- Hostinger pricing and renewal cost
- Hostinger vs Bluehost vs SiteGround
- How much a website costs
- Deploy a Node.js app on a VPS
- How to start a blog with WordPress
Photo: PublicDomainPictures, Pixabay Content License, via Pixabay (https://pixabay.com/photos/internet-laptop-video-network-page-315799/)
Fazlur Rahman






