#Pterodactyl domain

25 messages · Page 1 of 1 (latest)

wet marsh
#

Is it possible, to change the pterodactyl domain? Like rn, we have the domain as the ip of the vps, but we want to change that.

dusty mulchBOT
#

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

wet marsh
#

I dont have pterodactyl.conf file

#

@primal hinge

#

how is that possible

#

and i also miss some files required to add addons to the panel

primal hinge
wet marsh
wet marsh
primal hinge
#

this is how the default panel is. if you strayed from defaults, only you know the answer.

#

so we cannot help in the matter, sorry.

#

you are the one that set your panel up.

wet marsh
#

and i miss the file that required to change the domain.

primal hinge
#

100% what the bot said is true if you used defaults.

#

if you dont have the file, its not default.

#

and not by the docs

#

sounds like you went offbook

wet marsh
#

well, then my hoster didnt use the official installer

primal hinge
#

so only you know the answers on how to back it up!

#

exactly.

#

ask your hoster

#

only they can help you now

wet marsh
#

okay

#

thx