#How to move domain to subdomain

1 messages · Page 1 of 1 (latest)

thorn lark
#

Ubuntu 22.04

coarse glade
#

how to change domain

zenith brambleBOT
#

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

coarse glade
#

@thorn lark ^

thorn lark
#

thanks

zenith brambleBOT
#

@thorn lark Your Panel remote URL in the Wings config.yml does not match with the URL from which you're making the request. Make sure that they match for the connection to work.

If you know what you are doing and are intentionally trying to use a different origin, make sure to add it to your Wings config.yml allowed origins as shown in the example below. Use correct HTTP or HTTPS scheme. Wildcard '*' can be used to allow all origins.

allowed_origins:
- https://test.source.com
- http://another.panel.com

Restart Wings systemctl restart wings to apply the change.

thorn lark
#

DNS_PROBE_FINISHED_NXDOMAIN