Tag: apache2

  • How to Enable SSL in Apache2 on Ubuntu

    In this tutorial, I’ll explain you that how to enable the SSL for your website under Apache2 on Ubuntu Server. For this, I’m assuming: 1. That you have a working apache2 setup on your Ubuntu Server. 2. You have correctly configured the dns records for your domain. 3. You already got a certificate from a […]

  • How to recover deleted Apache Log

    Scenario: The server is running Apache and by mistake one of the log files gets deleted. How, we can recover it? Currently, Apache server is working perfectly: Login/Switch to as root user: Move to the httpd in log directory: cd /var/log/httpd Delete the log file: rm -f access_log So the log file has been deleted,now […]