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...
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
root@mypod:~# sudo /etc/init.d/apache2 startStop:
root@mypod:~# sudo /etc/init.d/apache2 stopRestart:
root@mypod:~# sudo /etc/init.d/apache2 restart...