Servers and cloud
Linux distributions for servers
Server distributions like Ubuntu, Debian, RHEL, CentOS Stream, Rocky Linux, Oracle Linux and Amazon Linux vary by support length and release model.
· Mateo Cardenas
HomeGuidesServers and cloudWhat is a server and how does it work?
The term web server can refer to hardware, to software, or to both working together.1, source 1 Clients make HTTP requests to servers, and servers respond to a client's HTTP request.1, source 1 Whenever a browser needs a file hosted on a web server, the browser requests the file via HTTP, and the server software accepts the request, finds the requested document and sends it back to the browser.1, source 1
On the hardware side, a web server is a computer that stores web server software and a website's component files.1, source 1 A web server's software side includes several parts that control how people on the web access hosted files, and at a minimum that is an HTTP server.1, source 1 An HTTP server is software that understands URLs (web addresses) and HTTP, the protocol your browser uses to view webpages.1, source 1 HTTP is a textual, stateless protocol.1, source 1
In database jargon, PostgreSQL uses a client/server model.2, source 2 In client/server applications such as PostgreSQL, the client and the server can be on different hosts.2, source 2
Web servers wait for client request messages, process them when they arrive, and reply to the web browser with an HTTP response message.3, source 3 An HTTP request includes a method that defines the required action, such as getting a file or saving or updating some data.3, source 3 A web server must answer every HTTP request, at least with an error message.1, source 1
If the server does not find the requested document, it returns a 404 response.1, source 1 An HTTP response carries a status code, such as 200 OK for success or 403 Forbidden if a person is not authorized to see the resource.3, source 3 A static web server, or stack, consists of a computer with an HTTP server.1, source 1 A static web server is called static because it sends its hosted files as-is to your browser.1, source 1
The server for a static site only needs to process GET requests, because it does not store any modifiable data.3, source 3 Relying on HTTP alone, a server cannot remember a password you typed or your progress on an incomplete transaction, and tasks like that need an application server.1, source 1 A dynamic web server consists of a static web server plus extra software, most commonly an application server and a database.1, source 1 In a dynamic request, the web server detects that the request is dynamic and forwards it to the web application for processing.3, source 3
On a dynamic web server, the application server updates the hosted files before the content reaches your browser through the HTTP server.1, source 1 An application server might fill an HTML template with content from a database to produce the final webpage.1, source 1 When a dynamic product site gets a request for a product, the server determines the product ID, fetches the data from the database, and builds the HTML page by inserting the data into an HTML template.3, source 3
A PostgreSQL server process manages the database files, accepts connections to the database from client applications, and performs database actions on behalf of the clients.2, source 2 The PostgreSQL database server program is called postgres.2, source 2 A PostgreSQL client can be a text-oriented tool, a graphical application, a web server that accesses the database to display web pages, or a specialized database maintenance tool.2, source 2
The objective of the Simple Mail Transfer Protocol (SMTP) is to transfer mail reliably and efficiently.4, source 4 When an SMTP client has a message to transmit, it establishes a two-way transmission channel to an SMTP server.4, source 4 An SMTP client finds a server by resolving a destination domain name to either an intermediate Mail eXchanger host or a final target host.4, source 4
An SMTP server may be either the ultimate destination of a message or an intermediate relay.4, source 4 Once an SMTP server has issued a success response at the end of the mail data, a formal handoff of responsibility for the message occurs.4, source 4
Name servers are server programs that hold information about the domain tree's structure and set information.5, source 5 A particular name server generally has complete information about a subset of the domain space, and pointers to other name servers that can lead to information from any part of the domain tree.5, source 5 A name server is said to be an authority for the parts of the name space for which it has complete information.5, source 5
Authoritative information is organized into units called zones, which can be automatically distributed to the name servers that provide redundant service for the data in a zone.5, source 5 Resolvers are programs that extract information from name servers in response to client requests.5, source 5
One of the most common ways to network Ubuntu and Windows computers is to configure Samba as a file server.6, source 6 Samba can be set up as a file server to share files with Windows clients.6, source 6 On Ubuntu, the main Samba configuration file is /etc/samba/smb.conf.6, source 6 With Samba set up as an Ubuntu file server, a Windows client can browse to the server and see the shared directory.6, source 6
To create additional Samba shares, you create new [sharename] sections in /etc/samba/smb.conf and restart Samba.6, source 6
The Apache HTTP Server Project is a collaborative effort to create a freely available source code implementation of an HTTP (Web) server.7, source 7 The project is part of the Apache Software Foundation.7, source 7
nginx can be set up to serve static content.8, source 8 It has one master process and several worker processes.8, source 8 The main purpose of the nginx master process is to read and evaluate configuration and maintain worker processes.8, source 8 The worker processes do the actual processing of requests.8, source 8
nginx uses an event-based model and operating-system-dependent mechanisms to distribute requests efficiently among worker processes.8, source 8 The number of nginx worker processes is set in the configuration file and may be fixed or automatically adjusted to the number of available CPU cores.8, source 8 Changes made to the nginx configuration file are not applied until the reload command is sent to nginx or nginx is restarted.8, source 8 One frequent use of nginx is as a proxy server, which receives requests, passes them to the proxied servers, retrieves responses from them, and sends them to the clients.8, source 8
Virtualization is a technology that creates virtual, simulated environments from a single physical machine.9, source 9 A virtual machine (VM) is a computing environment that works as an isolated system with its own CPU, operating system, memory, network interface and storage, created from a pool of hardware resources.9, source 9 Virtualization allows virtual machines with different operating systems to run simultaneously on a single physical device.9, source 9 By virtualizing servers, many virtual servers can be placed on each physical server to improve hardware utilization.9, source 9
A hypervisor, sometimes called a virtual machine monitor (VMM), is software that separates a system's physical resources and divides them so that virtual environments can use them as needed.9, source 9 A hypervisor takes physical resources such as CPU, memory and storage from the hardware and allocates them to multiple VMs at once.9, source 9 When physical hardware is used as a hypervisor it is called the host, and the VMs that use its resources are called guests.9, source 9 Because they are separated from the rest of a system, VMs do not interfere with what is running on the host hardware.9, source 9
A type 1 hypervisor, also called a native or bare-metal hypervisor, runs directly on the host's hardware to manage guest operating systems.9, source 9 KVM (Kernel-based Virtual Machine) is an open source type 1 hypervisor.9, source 9 A type 2 hypervisor, also called a hosted hypervisor, runs on a conventional operating system as a software layer or application.9, source 9 Containerization packages software in a container that shares the host operating system, whereas a VM runs its own operating system.9, source 9
Technically, you could host a website's files on your own computer.1, source 1 Not all ISPs provide a fixed IP address for home lines.1, source 1 A dedicated web server can have the same IP address all the time, which is known as a dedicated IP address.1, source 1 A dedicated web server is typically maintained by a third party.1, source 1
Compared with your own computer, a dedicated web server is typically more available (up and running).1, source 1 Excluding downtime and system troubles, a dedicated web server is always connected to the Internet.1, source 1 Once you have a web hosting service, you must upload your files to your web server.1, source 1
Google Cloud's data centers might be owned by Google, or they might be leased from third-party data center providers.10, source 10 In Google Cloud, regions are independent geographic areas that consist of zones.10, source 10 Each zone is a deployment area for resources within a region, and should be considered a single failure domain within that region.10, source 10 Google Cloud advises deploying applications across multiple zones in a region to build fault-tolerant applications with high availability.10, source 10
In Google Cloud, a zonal outage can affect some or all of the resources in that zone.10, source 10 A Compute Engine virtual machine (VM) instance is an example of a zonal resource that resides within a specific zone.10, source 10 You can choose where to locate your applications in Google Cloud to meet your latency, availability and durability requirements.10, source 10
On Infomaniak's Web Hosting, all the sites on a server share the resources of the machine they are hosted on.11, source 11
DigitalOcean's brand name for a virtual private server is Droplet.12, source 12 You choose the Droplet plan, operating system and data center region when you create a Droplet.12, source 12 DigitalOcean's core Droplet offering is unmanaged: you are responsible for managing the server.12, source 12 You connect to a Droplet over SSH, using the root password or an SSH key.13, source 13
Vultr sells single-tenant dedicated servers, called Bare Metal, alongside its cloud compute products.14, source 14 Bare Metal servers are always single-tenant, so only you have access to the server's resources.14, source 14 Bare Metal gives direct access to the physical hardware, with no virtualization layer.14, source 14 Vultr provides local administrator or root access and out-of-band console access on all bare metal and virtualized compute instances.15, source 15
On Vultr, Regular Performance, High Performance and High Frequency instances run on shared vCPUs.14, source 14 Optimized Cloud Compute plans run on fully dedicated AMD EPYC vCPUs.14, source 14
It waits for client requests, processes them and replies. Web server software accepts HTTP requests from a browser, finds the requested document and sends it back over HTTP. If it cannot find the document, it returns a 404 response.
Sometimes. A server can be hardware, software or both working together. On the hardware side, a web server is a computer that stores web server software and a website's component files.
A client and its server can be on different hosts. A dedicated web server is typically maintained by a third party, and once you have a web hosting service you upload your files to your web server.
A server answers requests from clients. A web server sends a site's files to a browser over HTTP. An SMTP server receives mail from SMTP clients, a PostgreSQL server accepts connections from client applications, and Samba can act as a file server for Windows clients.
Yes, it can. Virtualization lets one physical machine host several isolated virtual machines simultaneously. A hypervisor takes the physical CPU, memory and storage and allocates them to multiple virtual environments at once.
It is a server program holding information about the domain tree. A name server is an authority for the parts of the name space it has complete information about. Resolvers are programs that extract information from name servers in response to client requests.
Every fact on this page comes from one of these, checked before it goes live.
Servers and cloud
Server distributions like Ubuntu, Debian, RHEL, CentOS Stream, Rocky Linux, Oracle Linux and Amazon Linux vary by support length and release model.
· Mateo Cardenas
Servers and cloud
Linux is a free, open source operating system built around the Linux kernel. Red Hat names flexibility and security among the reasons people choose it.
· Mateo Cardenas
Servers and cloud
nginx is an open source HTTP web server, reverse proxy, content cache and load balancer. Learn how the nginx configuration works and how to set it up.
· Mateo Cardenas
Servers and cloud
Ubuntu Server is a version of Ubuntu built as a backbone for the internet. LTS releases get 5 years of standard security maintenance, more with Ubuntu Pro.
· Mateo Cardenas