How To Configure An Apache SSL Reverse Proxy on Linux?

What is Apache?

Apache is a free and open-source cross-platform web server software that allows users to deploy their websites on the internet. It was launched in 1995 and has been the most popular web server on the Internet since April 1996.

What is a reverse proxy?

reverse proxy is a server that sits in front of web servers and forwards client requests to those web servers. It acts as an intermediary, intercepting and inspecting incoming client requests before forwarding them to the web server. Reverse proxies can provide additional levels of abstraction, control, security, and performance optimization. They are commonly used for load balancing, web acceleration, and to hide implementation details about the web servers.

What is SSL?

SSL, or Secure Sockets Layer, is a protocol for establishing authenticated and encrypted links between networked computers. Its current iteration is called TLS (Transport Layer Security).

Continue reading “How To Configure An Apache SSL Reverse Proxy on Linux?”

How to set up vhosts in the Apache2 webserver?

Apache2 is a free and open-source web server that allows users to deploy their websites on the internet. It was first released in 1995 and is maintained by the Apache Software Foundation. Apache is fast, reliable, and secure, and it runs on a large percentage of web servers, making it one of the most popular choices for website owners, developers, and hosting providers.

Continue reading “How to set up vhosts in the Apache2 webserver?”

How to install LAMP stack on Debian Bullseye – the old way

The traditional “LAMP stack” means Linux, Apache2, MySQL/MariaDB and PHP for many IT practitioners. It is a collection of software and services for running dynamic web applications with database backends.

Linux is the Operating System kernel on which we run these services. Apache2 is a general web server for running static web sites. MariaDB is a relational database engine for storing persistent data. PHP is a lightweight, interpreted language for writing dynamic server side code for web applications.

A large slice of the known web sites run on the LAMP stack today.

Continue reading “How to install LAMP stack on Debian Bullseye – the old way”

How to install a secure Apache2 web server on Debian 11?

The expected outcome is:

  • To open a browser
  • Type the IP address of the machine (DNS configuration is a topic for later)
  • It must serve a new, custom html file called index.html with our string “Hello, How are you?”
  • Preparation work
  • Debian 11 netinstall in a VM is ready (it will be the server)
  • The network configuration is ready (IP and port 80 are reachable)
  • Root access on the VM
Continue reading “How to install a secure Apache2 web server on Debian 11?”