Pufferpanel different directory #249
Replies: 7 comments 5 replies
-
SirCoolness wrote at May 10 2016 18:47:28 UTC: pufferpanel can only be accessed by the FDQN by default. you could use a subdomain for the panel and use your main domain for your site all on the same machine using virtual hosts. since this is close to this post. You may want to refer there. If you only want it to be accessed as a directory you are going to have to modify the nginx config for pufferpanel. |
Beta Was this translation helpful? Give feedback.
-
jordan wrote at May 10 2016 18:47:28 UTC: I checked in /etc/nginx/nginx.conf? where does it define the directory for pufferpanel. |
Beta Was this translation helpful? Give feedback.
-
SirCoolness wrote at May 10 2016 18:47:28 UTC: its not in there. the pufferpanel config is in /etc/nginx/sites-available/. |
Beta Was this translation helpful? Give feedback.
-
SirCoolness wrote at May 10 2016 18:47:28 UTC: is that your whole config? |
Beta Was this translation helpful? Give feedback.
-
SirCoolness wrote at May 10 2016 18:47:28 UTC: ah ok if im not mistaken you can add rule in the default nginx config stating that if someone goes to domain.com/puffer it will take them to /srv/pufferpanel. then disable the pufferpanel config, and restart nginx. i want to point out that this is a bit more technical so i hope your comfortable with editing nginx. |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 10 2016 18:47:28 UTC: PufferPanel does not support being located in a subdirectory. If you have a domain you can create a subdomain for PufferPanel, such as panel.example.com. |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 10 2016 18:47:28 UTC: You need to make an A record that points to the IP of your server for the subdomain at your DNS provider, which is usually the same as your domain registrar. Then you'll need to provide the PufferPanel installer with the subdomain when it asks you for the FQDN. You can either reinstall PufferPanel or use Since you have already installed PufferPanel previously you'll also need to edit |
Beta Was this translation helpful? Give feedback.
-
jordan wrote at May 10 2016 18:47:28 UTC:
So i've got pufferpanel installed in srv/pufferpanel
How do i change it so it's not in the root of my website?
for example it's installed in /testpufferpanel so when i go to my website i can dop
www.examplewebsite.com/testpufferpanel
and it'll take me to my pufferpanel installation?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions