PufferPanel won't load from link
@LordRalex Hey, thanks. So I opened ports 80 and 5656 using TCP protocol and now I get this: http://www.awesomescreenshot.com/image/1997825/3e90fc68e7f7a14ff69b91fddb1c0e3d
the commands I used were:
firewall-cmd --zone=public --add-port=80/tcp --permanent success firewall-cmd --zone=public --add-port=5656/tcp --permanent success sudo firewall-cmd --reload
When you installed the panel, it told you to enter the site URL. Are you using that same URL to access this panel?
@LordRalex yes, I'm 99% sure. I wrote it down but I guess it's possible I spelled it wrong when I entered it. Is there a way to check/change the panel URL?
The easier way is to look at the server_name in the Nginx config
@LordRalex hmmm I must be doing something wrong. For the first command I get "no such file or directory" and for the second I get "permission denied" (I am root user).
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://22.214.171.124/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!