Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add guide to proxying a minecraft server. #158

Merged
merged 6 commits into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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] (most likely it will be dono-02.danbot.host)
iostpa marked this conversation as resolved.
Show resolved Hide resolved
```
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.