#Help Accessing Panel outside of Local Network
11 messages · Page 1 of 1 (latest)
You'd need to forward your panel port, wings port, SFTP port if you want to(not required unless you want to use sftp)
Using a domain would be easier. See below on how to change it
@queen elk You have to modify the server_name in your web server pterodactyl.conf file. Don't know where to find it? Type the command .webconf and I will provide more instructions.
If you're using a SSL certificate, remember to also change the SSL paths in pterodactyl.conf file to match your new domain and generate a new certificate: https://pterodactyl.io/tutorials/creating_ssl_certificates.html
Next, modify the app_url in the .env file located at /var/www/pterodactyl by typing nano /var/www/pterodactyl/.env. Restart your web server to apply these changes.
Wings config file must be updated to match the new Panel URL. You can do it manually in the config.yml file located at /etc/pterodactyl or overwrite it completely by copying it from the Panel. Go to Nodes -> <your node> -> Configuration to auto-deploy or copy the config file.
How would I find my panel port, wings port, and SFTP port?
I know my SFTP port in this case is 2722, but the other two? Thanks!
Panel would be 80/443 by default. Configurable in the webserver config
Wings port would be, as you said, 8777
Thanks!
Your server block file would be located by default at /etc/nginx/sites-available/pterodactyl.conf OR /etc/apache2/sites-available/pterodactyl.conf depending on what web server you are using.
CentOS paths would be at /etc/nginx/conf.d/pterodactyl.conf OR /etc/apache2/sites-available/pterodactyl.conf.
What would I modify my server_name to? My domain?
Affirm