Skip to content

Commit

Permalink
docs: add srv documentation for custom domains
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbraemer committed Feb 9, 2024
1 parent fc0a286 commit 242f13a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .web/docs/guide/domains.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,22 @@ You’ll need to configure this with your DNS provider.

Now, accessing `example.com` will tell the DNS system to look up `mcserver.play.minekube.net` and return its results.

## Option 2: Set an SRV record

If you want to use an SRV record instead of a CNAME, you can do that too. Use an SRV record if
you can’t use a CNAME record at the root of your domain anymore, because you have other records there (a website, for
example).

An SRV record for `example.com` would look like:

```
SRV @ _minecraft._tcp 0 5 25565 mcserver.play.minekube.net
```

| Type | Name | Service | Protocol | Priority | Weight | Port | Target |
|------|------|------------|----------|----------|--------|-------|----------------------------|
| SRV | @ | _minecraft | TCP | 0 | 5 | 25565 | mcserver.play.minekube.net |

## Add your domain

You'll need to go to the [Connect Dashboard](https://app.minekube.com) and add your domain to your endpoint.
Expand Down

0 comments on commit 242f13a

Please sign in to comment.