0%
Loading...
NolimitHost

Connect a custom domain to a Java server

Last updated: July 23, 2026

This guide shows you how to point play.example.com to a NolimitHost Minecraft Java Edition server with DNS address and SRV records. After DNS is configured, Java players can connect with an address such as play.example.com.

This guide applies to Minecraft Java Edition. Native Bedrock clients do not all resolve Minecraft SRV records consistently, so Bedrock players may still need the NolimitHost server address and server port.

Address and port are separate

ValueExamplePurpose
Server address203.0.113.20Identifies the server on the network.
Server port25570Identifies the Minecraft service on that address.
Custom domainplay.example.comGives players a memorable name to enter.

DNS (the Domain Name System) is the address book of the internet: it turns names such as play.example.com into the numbers and settings computers use. An A record maps a hostname to an IPv4 address. It does not carry a port. An SRV record tells compatible clients which hostname and port provide a service.

Warning: Use the address and port assigned in the NolimitHost game panel (log in at https://panel.nolimithost.cc/ and select your server to see them). Do not change server-ip or server-port in server.properties to match your domain.

Configure a server on the default port

When the NolimitHost allocation uses the standard Java port, create an address record:

DNS fieldExample value
TypeA
Name or hostplay
Value or content203.0.113.20
TTLAutomatic or your provider's normal value

Players then connect with play.example.com.

Configure a server with a custom port

First create a hostname for the server address:

DNS fieldExample value
TypeA
Name or hostmc-origin
Value or content203.0.113.20

Then create the Minecraft Java SRV record:

DNS fieldExample value
TypeSRV
Service_minecraft
Protocol_tcp
Nameplay
Priority0
Weight0
Port25570
Targetmc-origin.example.com
Note: If your DNS provider offers an HTTP proxy, CDN, or orange-cloud style proxy, keep the Minecraft record DNS-only unless that provider explicitly supports proxying Minecraft traffic.

Test and troubleshoot

  1. Confirm that the server works with its direct NolimitHost address and port.
  2. Save the DNS records and wait for DNS caches to update.
  3. Test play.example.com from Minecraft Java Edition.
  4. If it fails, confirm the SRV name, target, assigned port, and address record.
  5. Make sure the SRV target is a hostname with its own address record and does not end at an unconfigured name.

If you move the server later, update the address and SRV records only after the new server works directly.