Considering domain change
Hello! I'm considering changing the domain of my server. I'm wondering if its a hard task to change the domains of different applications like my Minecraft server itself and my Pterodactyl panel. Could someone tell me if this is easy to do or not?
2 Replies
for your server no, for your panel, still not really hard. You can see the required steps by asking in the pterodactyl discord
You have to modify the server_name in your web server
Next, modify the
pterodactyl.conf
file.
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.htmlNext, 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.