Read PHP file Apache & Nginx 1) add the following code in the file “sudo nano /etc/nginx/sites-enabled/default” location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.1-fpm.sock; } location ~ /\.ht { deny all; } 2) And also change the port as per your need server { listen 8080 default_server; listen [::]:8080Read More →

Install free and secure your website sudo a2enmod ssl sudo service apache2 restart sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-apache sudo certbot –apache -d linuxguru.co.in Enter Email ID admin@linuxuguru.co.in sudo nano /etc/apache2/sites-available/000-default-le-ssl.conf(Add Line) SSLCertificateFile    /etc/letsencrypt/live/linuxguru.co.in/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/linuxguru.co.in/privkey.pem sudo /etc/init.d/apache2 restart For Nginx sudo certbot –nginx -dRead More →