Error 403, PHP File returning as Download file
Hi,
I already had SSL installed through this script. But, I wanted to add certificate for one more subdomain. After following the process
sudo su
sple.sh
app name
user
example.com www.example.com new.example.com
Clicked on expand
SSL Installed, but error 403. Any file like wp-config.php returning as download file. Temp, I fixed it by sucuring permission.
Can you please tell me how can I fix? Thanks
You need to run sple.sh, put the same app name and user but in the domain add all the ones you have plus the new subdomain. The installer will ask you if you want to update the certificates, accept that and see if it works with the new subdomain. If it still doesnt, try resetting nginx with sudo service nginx-sp restart.
I tried this step. However, last thing that fixed was deleting app and re-installing WordPress. :-(
That is extreme!