diff --git a/src/constants/sidebar.ts b/src/constants/sidebar.ts index 0110015..df933fe 100644 --- a/src/constants/sidebar.ts +++ b/src/constants/sidebar.ts @@ -32,6 +32,7 @@ export function getSidebar(lang = 'en'): SidebarSection[] { { title: 'Problemas comunes', href: base + '/common-issues' }, { title: 'Propiedades del servidor', href: base + '/server-properties' }, { title: 'Subir un mundo personalizado', href: base + '/custom-world-upload' }, + { title: 'Dominios personalizado', href: base + '/custom-domain' }, ], }, { @@ -80,6 +81,7 @@ export function getSidebar(lang = 'en'): SidebarSection[] { { title: 'Common Issues', href: base + '/common-issues' }, { title: 'Server Properties', href: base + '/server-properties' }, { title: 'Uploading a custom world', href: base + '/custom-world-upload' }, + { title: 'Custom Domains', href: base + '/custom-domain' }, ], }, { diff --git a/src/content/docs-es/custom-domain.mdx b/src/content/docs-es/custom-domain.mdx new file mode 100644 index 0000000..eefa8dc --- /dev/null +++ b/src/content/docs-es/custom-domain.mdx @@ -0,0 +1,31 @@ +--- +title: Conectar un Dominio Personalizado +description: ¡Aprende cómo conectar tu dominio personalizado a tu Seedloaf! +--- +### Paso 1: Abre la Configuración DNS de tu Dominio +Inicia sesión en tu registrador de dominios o proveedor de DNS (como Cloudflare, Namecheap o GoDaddy) y navega hasta la sección de Gestión de DNS (DNS Management) de tu dominio. + +### Paso 2: Crea un Registro CNAME +Añade un nuevo registro CNAME con los siguientes ajustes: +* **Tipo:** CNAME +* **Nombre:** play (crea play.tudominio.com) +* **Destino:** ej. tusubdominio.seedloaf.gg ( **no** incluyas el número de puerto ni `:`) +* **Proxy:** Debe estar desactivado / deshabilitado + +### Paso 3: Crea el Registro SRV +Dirige el tráfico de Minecraft y el puerto personalizado a tu servidor: +| Campo | Valor | Notas | +| :--- | :--- | :--- | +| **Tipo** | `SRV` | | +| **Servicio** | `_minecraft` | | +| **Protocolo** | `_tcp` (o `TCP`) | | +| **Nombre / Host** | `play` | Usa `@` si quieres que los jugadores se conecten usando solo `tudominio.com` sin `play.` | +| **Prioridad** | `0` | | +| **Peso** | `0` | | +| **Puerto** | `[El Puerto de tu Servidor]` | El puerto numérico asignado en tu panel de control | +| **Destino** | `play.tudominio.com` | Debe coincidir con el nombre de host CNAME creado en el Paso 2 | +| **TTL** | `Auto` (o `3600`) | | +> **Nota para proveedores con un único campo "Nombre":** Si tu registrador no tiene campos separados para Servicio/Protocolo, ingresa `_minecraft._tcp.play` en el campo Nombre/Host. + +### Paso 4: ¡Listo! ✅ +¡Tu dominio personalizado ya está vinculado! Ten en cuenta que los cambios de DNS pueden tardar unos minutos en propagarse. Una vez actualizado, ¡podrás conectarte a tu servidor usando tu nuevo dominio! \ No newline at end of file diff --git a/src/content/docs/custom-domain.mdx b/src/content/docs/custom-domain.mdx new file mode 100644 index 0000000..55094a9 --- /dev/null +++ b/src/content/docs/custom-domain.mdx @@ -0,0 +1,31 @@ +--- +title: Connecting a Custom Domain +description: Learn how to connect your custom domain to your Seedloaf! +--- +### Step 1: Open Your Domain DNS Settings +Log in to your domain registrar or DNS provider (such as Cloudflare, Namecheap, or GoDaddy) and navigate to the DNS Management section for your domain. + +### Step 2: Create a CNAME Record +Add a new CNAME record with the following settings: +* **Type:** CNAME +* **Name:** play (creates play.yourdomain.com) +* **Target:** e.g. yoursubdomain.seedloaf.gg (do **not** include the port number or `:`) +* **Proxy:** This will need to be turned off / disabled + +### Step 3: Create the SRV Record +Route Minecraft traffic and the custom port to your server: +| Field | Value | Notes | +| :--- | :--- | :--- | +| **Type** | `SRV` | | +| **Service** | `_minecraft` | | +| **Protocol** | `_tcp` (or `TCP`) | | +| **Name / Host** | `play` | Use `@` if you want players to connect using just `yourdomain.com` without `play.` | +| **Priority** | `0` | | +| **Weight** | `0` | | +| **Port** | `[Your Server Port]` | The numeric port assigned in your dashboard | +| **Target** | `play.yourdomain.com` | Must match the CNAME hostname created in Step 2 | +| **TTL** | `Auto` (or `3600`) | | +> **Note for providers with a single "Name" field:** If your registrar does not have separate Service/Protocol fields, enter `_minecraft._tcp.play` in the Name/Host field. + +### Step 4: Done ✅ +Your custom domain is now linked! Keep in mind that DNS changes may take a few minutes to propagate. Once updated, you can connect to your server using your new domain! \ No newline at end of file