Website

On this page 7

A website is a collection of related web pages and resources, such as HTML documents, stylesheets, scripts, images and data endpoints, published under a common domain name and delivered to browsers over HTTP or HTTPS. In web architecture, the website is the unit that users experience as one place on the Web, even though behind it may sit a single static folder or a distributed system of servers, databases and edge networks.

The term describes the user-facing whole, not a particular technology. A website can be static or dynamic, built by hand or managed by a content management system, and it may contain interactive features that turn parts of it into a web application.

How a website is delivered to the browser

Every visit starts when the browser resolves the domain name through DNS to an IP address, opens a connection, negotiates TLS encryption and sends an HTTP request for a URL. The server, or a content delivery network in front of it, answers with an HTML document, which the browser parses before requesting the stylesheets, scripts, fonts and images it references.

The browser then builds the Document Object Model, applies CSS, executes JavaScript and paints the page. Navigation to another page repeats the cycle, although caching and connection reuse make later requests much faster. The quality of a website therefore depends as much on delivery as on content.

The following table describes the layers involved in serving a typical website.

LayerWhat it doesTypical technologies
Domain and DNSMaps the name to server addressesRegistrar, authoritative DNS
Transport and securityEncrypts and carries requestsHTTPS, TLS 1.3, HTTP/2 or HTTP/3
Edge deliveryCaches and serves content near usersContent delivery network
FrontendStructure, presentation and behaviorHTML, CSS, JavaScript
BackendBusiness logic and page generationNode.js, Django, Laravel, ASP.NET Core
Data storagePersists content and user dataRelational or document databases
Layers that make up a website

Static, dynamic and hybrid websites

Websites differ mainly in when their pages are generated. A static website consists of prebuilt files that the server returns unchanged, while a dynamic website builds each page on request from templates and a database. Hybrid approaches, such as Jamstack sites with serverless functions or edge rendering, combine prebuilt pages with selected dynamic parts.

The comparison below shows how these models trade speed, flexibility and operational effort.

ModelWhen pages are builtStrengthLimitation
Static websiteAt build or deploy timeFast, cheap and secureChanges require a rebuild
Dynamic websiteOn every requestPersonalized and always currentNeeds servers and caching
Jamstack hybridBuild time plus API callsStatic speed with dynamic featuresLogic spread across services
Edge-rendered websiteOn request at edge locationsLow latency worldwideRuntime limits and vendor coupling
Main website generation models

Many real sites are dynamic underneath but behave as static ones for most visitors, because full-page caching stores generated HTML. The architectural question is therefore less about the label and more about how much content must be computed per request.

The boundary between a website and a web application is a matter of emphasis rather than strict definition. A website is primarily for publishing and reading information, while a web application is primarily for performing tasks with stored state, such as banking, editing documents or managing orders. Most modern websites contain some application features, and most web applications include informational pages.

The table clarifies neighboring concepts that are often used loosely.

TermMeaningRelation to a website
Web pageOne document at one URLA website contains many pages
Web applicationInteractive software in the browserMay be part of or the whole website
DomainA registered name in DNSAddress under which a website lives
Web serverSoftware that answers HTTP requestsInfrastructure that serves the website
Content management systemTool for editing and publishing contentCommon way to run a website
Terms frequently confused with website

Architectural choices when building a website

Architecture should follow content volume, update frequency, interactivity and team skills. A small brochure site with occasional edits fits a static generator or a hosted builder, while a newsroom publishing hourly needs a content management system, and a store with accounts needs a backend framework or a headless CMS with a separate frontend.

The decision table below matches common situations to a sensible starting architecture.

SituationRecommended approachReason
Portfolio or documentationStatic site generatorMinimal hosting and attack surface
Frequently updated editorial siteTraditional content management systemEditors work without developers
Multichannel content for apps and webHeadless CMS with a web frameworkOne content source, many frontends
Online store with accountsBackend framework or commerce platformTransactions and user state
Large organization with many teamsMicro-frontends or separate subsitesIndependent releases per team
Choosing a website architecture

Regardless of the stack, sound practice favors progressive enhancement: core content and navigation should work as plain HTML, with JavaScript adding improvements. This keeps the website accessible, indexable and resilient when scripts fail or load slowly.

Quality attributes and common website failures

A well-architected website is judged by performance, accessibility, security, discoverability and maintainability. Performance is commonly measured with Core Web Vitals, accessibility against WCAG 2.2 success criteria, and security through HTTPS, timely patching and sensible HTTP security headers.

  • Oversized JavaScript bundles delay interactivity, especially on mid-range phones.
  • Missing HTTPS or expired certificates trigger browser warnings that drive visitors away.
  • Broken links and unmanaged redirects waste search engine crawl effort and frustrate users.
  • Unpatched software and plugins remain the most common route to compromise.
  • No backups or monitoring turn a minor incident into prolonged downtime.

A common misconception is that launching a website finishes the work. In reality a website is a living system that needs ongoing care: content audits, dependency updates, certificate renewal and performance budgets keep it fast and trustworthy over years.

A plain-language summary

A website is a group of pages that belong together and sit at one address, such as the name you type into the browser. When you visit, your browser asks a distant computer for the pages and then puts the text, pictures and buttons together on your screen.

It works a little like a shop with a street address. The address is the domain, the shelves are the pages, and the staff in the back room are the servers that fetch what you ask for. Keeping the shop tidy and secure is a continuous job.

An example from practice

A family-owned bakery with three locations wants a website showing opening hours, a seasonal menu and a form for cake orders. The developer chooses a static site generator for the informational pages, hosts the files on a content delivery network and adds one small serverless function that emails each order to the shop.

The owner edits menu text in simple Markdown files, and every change triggers an automatic rebuild that takes under a minute. Hosting costs stay close to zero, pages load in well under two seconds on mobile networks, and because no database or admin panel is exposed, the site has a very small attack surface to maintain.