Simple Web Stack
Server: A server is a computer or software system that stores and delivers data or services over a network.
Domain Name: A domain name is a user-friendly address used to access resources on the internet, translated by the DNS.
DNS Record for www: Usually, “www” in a domain like “www.foobar.com” is a CNAME record pointing to the main domain.
Web Server: A web server hosts and serves web content to users’ browsers.
Application Server: An application server executes web application logic and manages data.
Database: A database stores and manages structured data used by web applications.
Server-User Communication: Servers communicate with users’ computers over the internet using HTTP.
Issues:
- SPOF (Single Point of Failure): Reliance on a single server poses a risk of downtime if it fails.
- Downtime during Maintenance: Maintenance or updates can lead to temporary unavailability.
- Scaling Challenges: Difficulty handling increased traffic without scaling mechanisms like load balancing or redundancy.