PufferPanel won't load from link
cat /etc/nginx/conf.d/<file listed above>
Do those return errors?
@LordRalex yes those two worked. The first printed "pufferpanel.conf" the second printed the config file.
Okay. In that config then is the "server_name" line that is what you put when you installed the software.
You may also want to restart nginx just in case it did not before: systemctl restart nginx
Does using that server_name work?
systemctl restart nginx
still doesn't work, even after restarting nginx.
Let's try this then:
Where it has listen: 80, change it to this:
listen 80 default_server;
Restart nginx and let's see if that works for it.
What URL does your browser show in the windows as well
@LordRalex sorry so how would I change that line in the config so that it's the default server?
Browser shows http://220.127.116.11/panel (same as config)
Maybe it's an Nginx problem? I was looking at this: https://www.scalescale.com/tips/nginx/404-not-found-error-at-nginx/ and it made me think maybe it was one of those issues.
You will edit the pufferpanel.conf in the folder listed above.
In that file, is a line that says "listen 80;"
That line needs to change to say "listen 80 default_server;"
@LordRalex Okay so I changed it but it is still giving a 404 error.
And you restarted nginx, correct?
Can you post the entire pufferpanel.conf, along with the nginx.conf located in /etc/nginx?
@LordRalex So I figured out it was SELinux causing the issue. I disabled it and now I can access the panel. Thank you for your help!