What is a Dynamic Website? | Glossary

Glossary

What is a Dynamic Website?

A dynamic website builds pages on request from a database and code, so content can differ per visitor or update instantly, unlike fixed static HTML files.

A dynamic website is one whose pages are put together at the moment someone asks for them, using code on a server and data from a database. Two visitors can see different content on the same URL, and a change saved in the admin area appears immediately, without anyone rebuilding or re-uploading files.

What the server does on each request

When a browser asks for a page, the web server hands the request to application code written in a language such as PHP, Python, Ruby or JavaScript on Node.js. That backend code reads cookies to see who is logged in, queries the database for the right records (products, prices, bookings), merges them into a template and sends the resulting HTML. A static site, by contrast, serves a file that was written ahead of time and is identical for everyone.

"Dynamic" can also describe pages that change in the browser through JavaScript, but in the classic static-versus-dynamic comparison it means server-generated pages.

Examples of dynamic sites

Amazon, Facebook and online banking are dynamic: your basket, feed and balance are yours alone. A typical WordPress or Shopify site is dynamic too, since each page is built from the database. Small-business scenario: a used-car dealer lists around 80 vehicles. Staff mark a car as sold in the admin panel, and the listing, search filters and "recently added" box update for every visitor at once, which would be tedious with hand-edited static pages.

Static or dynamic for your business?

You need dynamic behaviour when content depends on the visitor (accounts, baskets, member areas), changes constantly (stock, availability) or is searched and filtered across many records. A five-page site for a plumber does not; static pages or a Jamstack setup are faster and have less to secure. Many modern sites mix both, pre-building marketing pages and keeping a dynamic part for logins or checkout.

Dynamic site pitfalls

  • No caching. Rebuilding identical pages for every visitor wastes server time and slows the site under traffic.
  • Unescaped user input in database queries or pages, opening the door to SQL injection or cross-site scripting.
  • Endless URL variations from filters and sort orders that search engines crawl as separate pages; use canonical tags.
  • Cheap hosting for a database-heavy site, causing timeouts during sales.

Related terms

  • Static site generator: the pre-built alternative.
  • CMS: the most common engine behind dynamic sites.
  • Backend: the server code that assembles each page.
  • Caching: how dynamic sites stay fast.

Ready to put this into practice?

We.Inc lets you describe a site in chat and watch AI build it live, then refine it visually or in code.

Start Building

No credit card required

Describe your business. Get a website ready to publish.

Ready to simplify everything?

Join 15,000+ businesses that replaced their entire marketing stack with one platform.

No credit card required · Talk to sales

Product

Who It's For

Features

Resources

Company

View Sitemap