#Help Accessing Panel outside of Local Network

11 messages · Page 1 of 1 (latest)

worldly kernelBOT
#

Please explain the issue you're experiencing in as much detail as possible. Preferably with error messages in a text format or paste link to logs. Nobody can assist you without information that helps to understand the issue. Help us help you. Messages such as "doesn't work" or "i need help" will most likely be ignored.

queen elk
#

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

worldly kernelBOT
#

@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.

barren sapphire
queen elk
#

Panel would be 80/443 by default. Configurable in the webserver config
Wings port would be, as you said, 8777

barren sapphire
#

Thanks!

worldly kernelBOT
#

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.

barren sapphire
#

What would I modify my server_name to? My domain?

queen elk
#

Affirm

barren sapphire
#

And how would I restart my web server? Can I do it using putty

#

What command would I use to restart my web server/panel?