← Back to Knowledgebase

Setting up a Domain Name

Connect a custom domain like play.yourserver.com to your server.


Step 1: Get your IP

Find your server's numerical IP address in the panel (e.g., 192.168.1.1).

Step 2: Create an A Record

  1. Log in to your domain registrar (Namecheap, GoDaddy, Cloudflare).
  2. Go to DNS Management.
  3. Add a new A Record:
    • Name/Host: play (or @ for the root domain)
    • Value/Target: Your Server IP (e.g., 192.168.1.1)
    • TTL: Automatic or 3600

Step 3: SRV Record (If using a non-default port)

If your server port is NOT 25565 (e.g., 25578), you must also create an SRV record:

Step 4: Wait for Propagation

DNS changes can take anywhere from 10 minutes to 24 hours to propagate globally.