UK web hosting · 24/7 live chat Black Friday + Cyber Monday: hosting + free domain £19.99 Open a ticket Client login

Guide

Static vs dynamic websites explained simply

By Limitless Hosting · 5 min read · Updated 18 November 2026

A static website is made of fixed files sent to every visitor exactly as they are, while a dynamic website builds each page on the server, often from a database, when someone asks for it. Static sites are fast, cheap and simple to host. Dynamic sites, such as WordPress and shops, are more flexible but need more from the server.

See the plans

The basics

Two ways to make a web page

Every web page a visitor sees was made somehow. In a static website, the pages were made in advance. They are finished files, such as HTML, CSS and images, sitting on the server. When someone visits, the server simply hands over the right file. Everyone gets the same page.

In a dynamic website, the page is made when the visitor asks. A program on the server, such as WordPress running on PHP, reads from a database, assembles the page from pieces and sends it. This lets the page change for each visitor, with accounts, baskets, comments and search, and lets you edit content without touching code.

Neither is better in every case. Which you need depends on how often your content changes, who edits it and whether visitors must log in or buy. Many modern tools blur the lines, building static pages from dynamic content, but the basic idea holds.

Comparison

Static and dynamic side by side

PointStatic websiteDynamic website
How pages are madePrepared in advance as filesBuilt on the server when requested
SpeedVery fast, as files are simply servedFast with caching, slower without
Cost to hostVery lowLow to moderate
Editing contentEdit files and rebuildEdit in a dashboard, such as WordPress
Logins, shops, commentsNeeds extra servicesBuilt in or via plug-ins
SecuritySmall attack surface: no database or loginNeeds updates and care
ExamplesAstro, Hugo, plain HTML sitesWordPress, WooCommerce, custom apps

Which to choose

Pick by what you need

A brochure site

A few pages that rarely change. Static is simple, fast and cheap.

A blog you update often

WordPress is easy to edit. A static generator works if you are comfortable with files.

Logins and members

A dynamic site is the natural fit.

An online shop

Use a dynamic platform such as WooCommerce, which handles baskets and orders.

Maximum speed

Static sites are hard to beat. Dynamic ones need caching.

Lowest security risk

Static sites have no database or login to attack.

Worked example

A worked example: two businesses, two choices

A solicitor’s practice has six pages that change a few times a year: services, team, fees, complaints, contact and privacy. Nobody needs to log in, and there is no shop. A static site fits perfectly. It loads quickly, costs little to host and has almost nothing for attackers to target.

A garden centre wants to sell plants online, publish weekly blog posts, take bookings for workshops and let customers keep an account. It needs a database, a shop and an easy way to edit content. WordPress with WooCommerce suits it, running on hosting with caching and Redis.

Both are good decisions for their situation. The solicitor does not need the extra weight of a dynamic system, and the garden centre could not do its job with fixed files alone. The skill is matching the tool to the job.

In between

Hybrid approaches

Many modern sites mix the two. A static front end can call services for forms, search or comments, getting the speed of static pages with a little dynamic behaviour. A dynamic site can use caching so that most visitors are served a stored, static copy of each page.

WordPress with a good caching setup behaves much like a static site for most visitors, while still giving you an easy editor. Our plans include a LiteSpeed server and Redis object caching to help with this. See our guide to speeding up a WordPress site.

Whichever route you choose, remember that you can change later. Content is portable, and you can move from a static site to WordPress, or the reverse, as your needs change.

Hosting

What each needs from hosting

A static site needs only a web server and a way to upload files. Almost any hosting works, and our smallest plan is plenty. See our static site hosting page.

A dynamic site needs a language such as PHP, Node.js or Python, and often a database. WordPress needs PHP and MariaDB, both of which our plans include, with one-click installation. A custom app may need a Node.js or Python selector.

In both cases, look for free SSL, UK servers and backups. These matter more than the type of site you run.

Checklist

Static or dynamic?

  • Does your content change rarely? Static may be enough
  • Do non-technical people edit it often? A dynamic CMS helps
  • Do visitors log in or buy? You need dynamic features
  • Do you want maximum speed and low cost? Static helps
  • Do you need comments or search? Add a service or go dynamic
  • Do you want the smallest security risk? Static helps
  • Can you accept updates and maintenance? Dynamic needs them
  • Could a hybrid suit you? Consider caching or a static front end

Cost and effort

What each costs to run

A static site costs very little to host, since a small plan is enough, and little to keep safe, since there is no login or database. The cost is in the workflow: you edit files or content in a tool, rebuild and upload. If a non-technical person must edit often, that effort can add up.

A dynamic site costs a little more to host and needs maintenance: updates, backups and security checks. In return, anyone can edit in a dashboard, and features like shops and bookings come as plug-ins. Many small businesses find the trade worth it.

Whichever you choose, budget a few minutes each month for upkeep. See our WordPress maintenance checklist for a simple routine.

Host your project on UK servers

SSH, Node.js and Python selectors, free SSL and live chat open 24/7 on every plan, from 84p a month (£10.03 billed yearly).

See the plans

FAQ

Common questions

What is a static website?

A site made of fixed files that are sent to every visitor as they are, with no page building on the server.

What is a dynamic website?

A site where the server builds each page when requested, often from a database, such as WordPress.

Which is faster?

Static sites are usually faster. Dynamic sites can be fast too, with good caching.

Which is more secure?

Static sites have a smaller attack surface because they have no login or database. Dynamic sites need regular updates.

Is WordPress static or dynamic?

Dynamic. It builds pages from a database using PHP, though caching can serve stored copies.

Can I turn a dynamic site into a static one?

Some tools can export a WordPress site as static files, but you lose dynamic features such as comments and shops.

Which hosting do I need for each?

A static site needs only a web server. A dynamic site needs PHP, Node.js or Python and often a database, which our plans include.

Can I start static and move to WordPress later?

Yes. Your content, domain and hosting stay the same, and you can switch tools as your needs grow.

Which is better for a small business?

Either can work. A few rarely changing pages suit static. If you want to edit easily, sell or take bookings, a dynamic site such as WordPress is usually better.

Deploy your project on a plain yearly price

SSH, Node.js and Python selectors and free SSL on every plan, with a 15-day money-back guarantee.

See the plans .co.uk and .uk domains £9.99

From 84p a month, billed yearly
15-day money back
Get started