By ClintonLee83
My client has paid ads and visitors coming to their site and they’re going crazy, so I’m a little frustrated here.
After restoring a droplet from when the site worked, I’m getting “Welcome to nginx!”
Following the instructions in this discussion: https://www.digitalocean.com/community/questions/website-only-show-welcome-to-nginx
I’m getting a 403 error
Nothing in: /var/log/nginx/error.log.1 /var/log/nginx/error.log
Inside /etc/nginx/sites-available/default (comments removed):
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www/;
index index.html index.htm;
server_name localhost;
location / {
try_files $uri $uri/ =404;
}
location ~ /.well-known {
allow all;
}
}
— update as I’m troubleshooting —
I used this tutorial to set up my droplet with wordpress: https://www.digitalocean.com/community/tutorials/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-downtime
I didn’t install nginx, I installed Apache. I’m not sure why it was running.
I’ve stoped nginx and restarted apache but I’m getting an error: /etc/init.d/apache2 restart
/etc/letsencrypt/live/www.signa.com/cert.pem is not empty, there is a certificate inside I’ve just verified
Apache error logs (/var/log/apache2/error.log) only have logs from Yesterday, nothing from today
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I’ve restored the droplet once again to start over, this time I immediately stopped nginx and restarted apache as sudo. I wasn’t restarting apache as sudo which seems to have caused the permission error.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.