# Use your own domain
Every game server can be reached on its IP and port, for example `203.0.113.10:31544`. That works, but it is hard to remember. If you own a domain, you can give players a name instead:

| You want | Use |
| --- | --- |
| `play.yourdomain.com` for players to join with | [DNS records for your game server](#dns-records-for-your-game-server) |
| `https://map.yourdomain.com` for a web map or stats page | [An HTTP domain on a web port](#https-for-a-web-port) |

We do not sell or register domains. Buy one from any domain provider first, then follow the steps below.

## DNS records for your game server

You create these records yourself at your domain provider. The dashboard does not create them for you. You need your server's address from the **How players join** card on **External Access**.

- **Every game**: an `A` record from `play.yourdomain.com` to your server's IP (the part of the address before the colon). If the address starts with a host name instead of an IP, use a `CNAME` record to that host name. Players then type `play.yourdomain.com:<port>`.
- **Minecraft (Java)**: also an `SRV` record `_minecraft._tcp.play` pointing at `play.yourdomain.com` and your server's port. Players then type only `play.yourdomain.com`.
- **FiveM**: also an `SRV` record `_cfx._udp.play`, the same way. Players then type `connect play.yourdomain.com`.

The exact fields are in [How players connect to your server](/game-servers/connect-players#use-a-domain-you-own).

A few things to keep in mind:

- DNS changes can take a few minutes, sometimes longer, to reach every player.
- The records do not update by themselves. If the address on **External Access** ever changes, update them.
- If you use Cloudflare, leave game records **DNS only** (grey cloud).

To show your own domain in the FiveM server browser too, see [Show your custom domain in the FiveM server browser](/fivem/custom-domain-in-server-list).

## HTTPS for a web port

If a plugin on your server serves a web page, such as a live map, you can give its port a `https://` address on a domain you own, with a certificate we manage for you. Open the port first, then click **Add HTTP domain** on its row. The full steps are in [Open ports on your game server](/game-servers/open-ports#https-for-a-web-port).

## Frequently asked questions

<details>
  <summary>Can I buy a domain from you?</summary>

No. Buy it from any domain provider, then add the records as described above.

</details>

<details>
  <summary>Players still cannot join with my domain.</summary>

Wait a few minutes after creating the records, then try again. Check that the `A` record points at the IP from **External Access** and that the SRV record's port matches the number after the colon. In games other than Minecraft (Java) and FiveM, players still need to add the port.

</details>

<details>
  <summary>Can I point several domains at the same server?</summary>

Yes. Create the same records for each domain.

</details>
