Using a Custom Domain with Your Game Server

Web Hosting · 15 views · Updated 2 hours ago
## Can I Use a Domain Name Instead of an IP?

Yes! You can point a domain or subdomain to your game server's IP address using a DNS A record.

## Setting Up a Subdomain for Your Game Server

- Log into your domain registrar or DNS provider
- Create an **A record**:

- **Name:** (or whatever subdomain you want, e.g., )
- **Value:** Your server's IP address (without the port)
- **TTL:** 3600 or Auto

- Save the record
- Wait for DNS propagation (can take up to 48-72 hours, but often works within minutes)

## Connecting

Players can now connect using instead of the IP address.

## Important Notes

- You still need to include the port number — DNS only resolves the domain to an IP
- If your domain's nameservers point to AgilaHost's web hosting, you'll need to manage DNS through HestiaCP, not your registrar
- SRV records can be used to hide the port number for Java Edition, but not for Bedrock

Still need help?

Create a Support Ticket

Related Articles