Dedicated Minecraft Server Hosting
  • Minecraft Server Docs
  • Basic Server Setup
    • How to Join a Minecraft Server
    • How to Adding Sub-users
    • How to Server Icon
    • How to Upload Files using SFTP
    • How to Creating MySQL Databases
    • How to Enable command Blocks
    • How to Install jar file
    • How to Upload Custom Minecraft Map
    • How to setup a server whitelist
    • How to setup and use Gamerules
    • How to setup a Reverse Proxy
    • How to set a custom MOTD
  • plugins
    • EssentialsX
    • Vault
    • LuckPerms
    • CoreProtect
    • Litebans
    • GriefPrevention
    • Advanced Anti-Cheat
    • Conditional Commands
    • AdvancedBan
    • Chunky
    • DiscordSRV
    • viaversion
    • Citizens 2
    • Prism
    • dynmap
    • CraftingStore
    • ServerNPC
    • Spark
    • Votifier
    • WorldEdit
    • Multiverse
    • Milk
    • GeyserMC
    • BungeeGuard
  • Scheduling Actions
  • Creating a Reverse Proxy
  • Resetting your world
  • Serverwide Resource Packs
  • Adding MySQL Databases
  • Setting Up Fabric
  • template
  • Installing Fabric mods on your server
  • DedicatedMinecraft Docs Overview
  • Installing Forge mods on your server
  • Server Optimization Guide
  • fabric_mods
    • LuckPerms
    • Chunky
    • Performance Mods
  • Basic Controls
  • Setting Up Forge
  • How to change your MOTD
  • Creating Backups
  • Installing Plugins on your server
  • Datapacks
  • Subusers
  • Editing Account Details
  • 2-Factor Authentication
  • Adding an icon to your server.
  • Using A Domain
  • How to use SFTP to transfer files
  • Contributing to the dedicatedminecraft.host documentation
  • change-java-version
  • How to take a Timings Report
  • Server Jars
  • File Manager Controls
  • SRVControl
  • Adding admin to minecraft server
Powered by GitBook
On this page
  • This section is for subdomains, where you should use CNAME records:
  • This section is for root domains, where you should use A records:

Was this helpful?

Edit on Git

Creating a Reverse Proxy

This guide will help you to create a reverse proxy.

PreviousScheduling ActionsNextResetting your world

Last updated 4 years ago

Was this helpful?

Hey there MinecraftGamers! 👋

In this guide, we will go over how to create a reverse proxy for your Minecraft server!

:::warning Reverse proxies can only be used for web connections (eg. HTTPS). If you wan't to join your minecraft server using your domain, check ::: :::note For this guide, you must have access to a domain and the ability to alter that domain's DNS settings. For this guide, we assume you have a domain with Cloudflare, but most registrars will work. ::: :::note In most cases, you should use a CNAME (Canonical Name) record to connect your subdomain to the reverse proxy. However, if you need to use a root domain, you will need to use an A record. Root domains are the base of a domain, like example.com, as opposed to a subdomain, subdomain.example.com :::

This section is for subdomains, where you should use CNAME records:

First, you will want to head over to your domain's DNS settings panel. In this demo, we will be using Cloudflare, and as an example domain, we will use subdomain.example.com.

CNAME record setup

The DNS record usually used for a reverse proxy is a CNAME (canonical name). You will want to create an identical CNAME record as the one pictured above, but you will replace the 'Name' field with the subdomain of your choice.

This section is for root domains, where you should use A records:

Go to your domain's DNS settings. We will use Cloudflare for this demo and example.com as an example domain.

In this case, create a new A record, identical to the one above. Different DNS providers may use different methods to reference the root of a domain. In most cases, you should put an @ inside the Name box

:::note CNAME records can take some time to propagate, though this depends on your ISP and other factors.

More than likely, you will have one allocation, but to create a reverse proxy, you will need to create a new allocation, to do so, just click 'Create Allocation'.

With this new allocation, you will want to input the domain or subdomain that you entered into your CNAME/A record, for this demo, we will input subdomain.example.com.

A record setup

For more information, check out . ::: :::warning If you do use Cloudflare for DNS, make sure to set the 'Proxy status' as DNS only as it won't work if it's proxied. :::

Once you've created your CNAME record, go to your and on the left sidebar, select 'Ports & Proxies'.

dedicatedminecraft.host Ports & Allocations
dedicatedminecraft.host Ports & Allocations

Once your new allocation has been created, it will be assigned a random port, if you need a specific port, open a support ticket in the .

this page
game panel
dedicatedminecraft.host Discord
this page