#Custom Domain

1 messages · Page 1 of 1 (latest)

somber oracle
#

Continued from #support message

I can see three issues with this:

  1. The server's IP is exposed and security risk
  2. I run a bungee network and two of the servers (lobby and gamemode 1) are on different ports
  3. I have a game panel (pterodactyl)
#

Custom Domain

tidal gateBOT
#

Domain guide:
First, configure Geyser, so that you are able to connect with the numeric IP + port (see the usual setup guide on https://wiki.geysermc.org/geyser/setup/)
When that is done & you are able to connect with the numeric IP + port, proceed with setting up the domain:

  1. Get a domain (e.g. via Cloudflare)
  2. Add an A-Record (Bedrock doesn't work with SRV DNS records, so you'll have to use an A record instead. Java players will be able to connect fine with an A record. A CNAME record will also work for redirecting both Java and Bedrock players).
  3. Point the record to the IP of your server.
  4. Do NOT enable "proxied" mode, it has to be DNS-only!

Then, you should be able to use your domain together with the port to connect to your server.

ruby fjord
#

But that's not a problem for the domain?

You should only link to the bungeecord server

somber oracle
#

🤔

#

And number 3

ruby fjord
#

I don't understand your problem xD

1:IP address is only visible to the dns provider. And anyone else you give the address to so they can play on it. So no problem.

2: Normally, the bungee server takes over all incoming requests and then forwards them accordingly to the game servers. Thus, only the bungee server needs to be connected to the domain.

3: 90% of all Minecraft servers are with panels and have germ problems with them.

somber oracle
#

I will try it

ocean bone
# ruby fjord I don't understand your problem xD 1:IP address is only visible to the dns pro...
  1. isn't really true, you can trace any domain easily - either with online tools, or by simply pinging the server

The way the Internet works is that you basically need to be able to resolve a domain to an IP - otherwise, your devices wouldn't know where to connect to.

The only way to "hide" your IP would be to use a proxy - such as cloudflare's proxying, but Bedrock edition doesn't support that.

SonnnenPingu is correct about bungee, yeah, it'll handle that port stuff - bungee will forward players where they want to go, either using the server command, or forced hosts.

As for game panel.. web requests generally use different ports than Minecraft servers, so that won't be an issue

somber oracle
#

yet it works anyway with cloudflare

ocean bone
#

ofc it'll work, but only as long as the a-record is set to non-proxied (aka DNS only)

somber oracle
#

well think what I did before was trying to do a SRV Record why never worked before