Connect a custom domain to your Minecraft Server
Point your own domain at your Minecraft server with an A record and SRV record, so players join with a name instead of an IP and port.
QUICK ANSWER
Buy a domain/connect a domain to Cloudflare.
Go to DNS Records. Create an A Record and if your server port is not 25565, create a SRV Record as well.
Domain Wildcard. The Asterisk
When defining the subdomain for the record, you can use * (the asterisk) to let the DNS Record reference any and all subdomains under your main domain. E.g. play.craftlands.host, bald.craftlands.host and everything else. This does not mean you should use it as it can complicate your setup when scaling (an example would be javing a website, a forum, a store on the same domain)




