HTTP Protocol Fundamentals and Apache Web Server Configuration

Core Internet Concepts The internet functions as a network of networks, serving as the parent set for all network types. The Internet represents the world's largest internetwork—a specific implementation within the broader internet concept. Computers connected to the Internet are commonly referred to as hosts. The World Wide Web (WWW) is not a ...

Posted on Wed, 04 Nov 2026 16:42:53 +0000 by Scutterman

Building a Minimal Tomcat-Like Server in Java

An HTTP request sent by a browser contains a method, path, and headers. To represent this server-side, we define a class that parses the raw input stream. package tomcat; import java.io.IOException; import java.io.InputStream; public class IRequest { private String url; private String method; public IRequest(InputStream inputStre ...

Posted on Tue, 03 Nov 2026 16:54:44 +0000 by Hurklefish

Web Server Setup and Configuration on Linux: Apache and Nginx

Apache Installation and Basic Management To install Apache (httpd) on a CentOS/RHEL system: yum install httpd Start the service: systemctl start httpd If the web page at http://192.168.1.109/ is unreachable despite the service running, verify port 80 is active: netstat -tulnp | grep :80 If the port is open but access is blocked, temporarily ...

Posted on Tue, 03 Nov 2026 16:36:30 +0000 by Usagi

Build and Install Nginx from Source on CentOS 7

Prerequisites Ensure the system is running CentOS 7.6 and you intend to install Nginx 1.17.7. Install Build Dependencies First, install the necessary compliation tools and librraies required for the Nginx build process: yum -y install gcc gcc-c++ automake make yum -y install pcre-devel zlib-devel openssl-devel gd-devel \ libxml2-devel libxs ...

Posted on Fri, 23 Oct 2026 16:12:42 +0000 by Vince

Installing and Configuring Nginx on CentOS 7

Step 2: Installing Nginx Using the configured EPEL repository, we can install Nginx with the following command: sudo yum install nginx Step 3: Starting the Nginx Service After installation, start the Nginx service and enable it to start automatically on boot: sudo systemctl start nginx sudo systemctl enable nginx Step 4: Verifying Nginx Servi ...

Posted on Sun, 27 Sep 2026 16:30:23 +0000 by tnkannan

Apache Reverse Proxy and Load Balancing Implementation

Apache Reverse Proxy and Load Balancing 1. Reverse Proxy Overview A reverse proxy is a server that receives requests from clients on the internet and forwards them to servers on an internal network. It then returns the server's responses to the requesting clients. From the external perspective, the reverse proxy appears as the original server ...

Posted on Sat, 12 Sep 2026 16:44:00 +0000 by Malcina

Essential Nginx Configuration Patterns and Examples

Nginx Configuration File Locations: The location of Nginx configuration files varies depending on the installation method. Source Code Compilation: Typically found in /usr/local/nginx/conf directory. Yum Installation: Usually in /etc/nginx/ directory (main configuration file) and /etc/nginx/conf.d directory. Docker Container: Generally located ...

Posted on Sat, 08 Aug 2026 16:24:34 +0000 by nadnad

Installing and Setting Up Nginx on CentOS 7

Prerequisites Log in to your CentOS 7 server using an account that has sudo privileges. Ensure that no other service (such as Apache) is occupying port 80 or 443, as this would prevent Nginx from starting. Installing Nginx Nginx is available from the EPEL (Extra Packages for Enterprise Linux) repository. Follow these steps to install it: Inst ...

Posted on Fri, 31 Jul 2026 16:43:08 +0000 by dougmcc1

Comprehensive Guide to Nginx Web Service Architecture

HTTP Protocol Request and Response Process Perform a simple HTTP request to observe the process: curl -v www.baidu.com HTTP Request Message Request Line Request Method: GET (read/retrieve) or POST (write/submit) Request Resource: e.g., index.html, oldboy.jpg Protocol Version: HTTP/1.0 (short-lived TCP connections), HTTP/1.1 (persistent TCP ...

Posted on Fri, 24 Jul 2026 16:54:56 +0000 by rakuci

Resolving Apache Startup Error: make_sock Could Not Bind to Address

When restarting Apache after cleaning log directories, the service fails with the following error: [root@localhost apache]# /etc/init.d/*_apache restart Stopping *_apache: [FAILED] Starting *_apache: (98)Address already in use: make_sock: could not bind to address [::]:99 (98)Address already in use: make_s ...

Posted on Fri, 10 Jul 2026 17:40:37 +0000 by rockobop