Apache is widely used web server at present date. Having a default configuration is highly vulnerable to exploitation as it supplies most sensitive information to attacker. So, hardening a apache web server enhances the server security and prevents attacks on server that is caused by the exploitation of default setting of the apache web server.
install varnish Introduction
Apache is popular web server used by most web hosting companies. install
Varnish cache - an HTTP accelerator and reverse proxy. We can use it with
any HTTP server. In this example, we will be using Apache 2. As a web server, Apache can use a considerable amount of server resources
to serve pages. If you are running a high-traffic website, then you might
need an HTTP accelerator to boost server performance. Varnish will help you
with that. Install Apache server
Activate it by using the following commands: sudo apt-get update
sudo apt-get install...
To start, stop, and restart the Apache Web Server (httpd) on Ubuntu, you
can use the /etc/init.d/apache2 script. You need to ssh to your Pod as root, or use sudo command. Here are each of
the commands: Start:
root@mypod:~# sudo /etc/init.d/apache2 start Stop:
root@mypod:~# sudo /etc/init.d/apache2 stop Restart:
root@mypod:~# sudo /etc/init.d/apache2 restart ...