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 Enter Email ID sudo nano /etc/apache2/sites-available/000-default-le-ssl.conf(Add Line) SSLCertificateFile    /etc/letsencrypt/live/ SSLCertificateKeyFile /etc/letsencrypt/live/ sudo /etc/init.d/apache2 restart For Nginx sudo certbot –nginx -dRead More →