#how do i change the domain of my preinstall pterodactyl dedi?

17 messages · Page 1 of 1 (latest)

golden kraken
#

how do i change the domain of my preinstall pterodactyl dedi?

pseudo dagger
#

I happen to host a minecraft server using Pterodactyl panel on a VPS here. If you mean how do you add a domain like example com as a domain for your server or even a fancy subdomain like mc example com, it's not that hard. You can make a domain point to your server by simply modifying the DNS records and adding an A record pointing to the IP of your VPS. (for some reason I cant put the dots in the domains because there is some spam filter)

This is what my records look like (note that my real IP and domain are not shown here):

covert lynx
#

inhoud kek

pseudo dagger
#

If your server runs on the default port of 25565, people can just use basically any A record pointing to that IP

pseudo dagger
covert lynx
#

Why not use cloudflare?

pseudo dagger
#

Too lazy to set it up at the moment. And for simplicity sake it's probably good enough

covert lynx
#

Cloudflare speeds up your DNS a lot

pseudo dagger
#

Yeah I should probably set it up lmao, already have multiple sites running it, just wanted to get the server up and running. @golden kraken If you want to use cloudflare you should first configure the nameservers to the ones cloudflare provides, and then set up the records accordingly on cloudflare itself. If you need help with it just ping me.
If your server runs on a different port than 25565 (or the equivalent default port of another gameserver) and don't want people to manually enter the port of your server, or for example the bluemap I have configured on my server. You need to SSH into the VPS and configure a reverse proxy in the NGINX folder so that people can use a subdomain for example to connect to said server. You could even have multiple subdomains for multiple servers running on it.

covert lynx
#

You need to use a SRV record for that

pseudo dagger
#

Ah, I'm not too familiar with it, but I just assumed it would because it works with my bluemap, but that makes sense.

covert lynx
#

and is unable to redirect it

pseudo dagger
#

Ah yes, you're right. Forgot about that detail.