Skip to content

Commit

Permalink
Add guide to proxying a minecraft server. (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyro3400 authored Dec 8, 2024
2 parents 207b9af + a635138 commit 7c6978f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const navLinks: Link[] = [
{ label: "SFTP Using VSCode", link: "/advanced/vscode-sftp" },
{ label: "ShareX Setup", link: "/advanced/sharex-setup" },
{ label: "NVM Setup", link: "/advanced/nvm" },
{ label: "Proxying a Minecraft Server", link: "/advanced/minecraft-proxying"},
{ label: "Python: Out of Space Error", link: "/advanced/python-install" },
],
},
Expand Down
23 changes: 23 additions & 0 deletions pages/advanced/minecraft-proxying.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# How to proxy a minecraft server

If you are looking of how to access your minecraft server without your server port, and using your own domain, you are at the right place

1. You need to have a minecraft server
2. If you already use cloudflare you are good 👍 If you use your own domain dash, make sure that it allows you to create srv records
3. Create an srv record and fill the boxes with the information required:
```
Type: SRV
Name: [your subdomain name]
Service: _minecraft
Protocol: TCP (remember tcp is only for java edition, bedrock uses udp)
TTL: auto
Priority: 0
Weight: 0
Port: [Your server port]
Target: [Domain name of the server] (It will be either dono-02.danbot.host or dono-04.danbot.host)
```
Here is an example:

![Example](/content/minecraft-proxy/example.png)

<Tip> Thanks to whoever made the [guide](https://discord.com/channels/639477525927690240/898041892279836692/990411009732800614) in `#hosting`! </Tip>
Binary file added public/content/minecraft-proxy/example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7c6978f

Please sign in to comment.