#Can someone tell me how i can switch the domain without having to reinstall pterodactyl

1 messages · Page 1 of 1 (latest)

grim nest
#

how to change domain

short doveBOT
#

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

#

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.

drifting fog
#

im kinda confused

#

where do i go for all of this

#

like im completely confused

drifting fog
#

ok my page says 500 server error

short doveBOT
#

Hey @drifting fog! Post your Panel logs to find out more information about the cause of your 500 server errors tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99

drifting fog
short doveBOT
#

I have found the following for: https://pteropaste.com/sfxywp/
@drifting fog; Your database migration was skipped or failed. You may attempt to complete it by running php artisan migrate --seed --force in the Pterodactyl install directory. If you encounter errors, please do not ignore them and instead post them here.

drifting fog
#

SQLSTATE[HY000] [1044] Access denied for user 'DawgTwist'@'127.0.0.1' to database 'LumaNode' (SQL: select * from information_schema.tables where table_schema = LumaNode and table_name = migrations and table_type = 'BASE TABLE')

short doveBOT
#

@drifting fog; Your database user doesn't appear to have sufficient permissions to access your database table.

drifting fog
#

how to change database name

short doveBOT
#

I have found the following for: https://pteropaste.com/zxuc9v/
@drifting fog; Your database migration was skipped or failed. You may attempt to complete it by running php artisan migrate --seed --force in the Pterodactyl install directory. If you encounter errors, please do not ignore them and instead post them here.

drifting fog
#

@grim nest how can i change the node link

brazen void
#

if i reinstall the panel, then i lost all servers data, eggs, users etc?